Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
getBlup committed Jun 15, 2022
1 parent c5dadee commit 02e9d40
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 82 deletions.
216 changes: 140 additions & 76 deletions .data/app.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bs3/shared/_Parts.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
var imgSettings = AsDynamic(Settings.Images.NewsDetails, "Content");
var altText = Text.Has(article.Image) ? Text.First(imageField.Metadata.Description, article.Title) : article.Title;
}
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText, imgClass:"img-responsive")
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText)
</div>

if (wrapInLink) {
Expand Down
2 changes: 1 addition & 1 deletion bs4/_Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
@{
var altText = Text.Has(article.Image) ? Text.First(imageField.Metadata.Description, article.Title) : article.Title;
}
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText, imgClass:"img-fluid")
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText)
</div>
@if (article.Lightbox) {
@:</a>
Expand Down
2 changes: 1 addition & 1 deletion bs5/_Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
var altText = Text.Has(article.Image) ? Text.First(imageField.Metadata.Description, article.Title) : article.Title;
}
<span class="overlay"></span>
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText, imgClass:"img-fluid")
@imgSvc.Picture(imageField, settings: imgSettings, imgAlt: altText)
</div>
@if (article.Lightbox) {
@:</a>
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A standard news / announcements app to use with 2sxc

| Aspect | Status | Comments or Version |
| ------------------- | :----: | ------------------- |
| 2sxc | ✅ | requires 2sxc v12.05
| 2sxc | ✅ | requires 2sxc v13.10
| Dnn | ✅ | For v7, v8 and v9
| Oqtane 2 | ✅ | Requires v2.02
| No jQuery ||
Expand All @@ -17,7 +17,7 @@ A standard news / announcements app to use with 2sxc
| Source & License | ✅ | included, ISC/MIT
| App Catalog | ✅ | See [app catalog](https://2sxc.org/en/apps/app/news-app-v5-hybrid-for-dnn-and-oqtane)
| Screenshots | ✅ | See [app catalog](https://2sxc.org/en/apps/app/news-app-v5-hybrid-for-dnn-and-oqtane)
| Best Practices | ✅ | Uses v12.05 conventions
| Best Practices | ✅ | Uses v13.10 conventions
| Bootstrap 3 ||
| Bootstrap 4 ||
| Bootstrap 5 ||
Expand Down
2 changes: 1 addition & 1 deletion shared/_Article Image.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

<div class="app-news5-img">
<span class="overlay"></span>
@imgSvc.Picture(image, width:"800", settings: "Content", imgAlt: altText, imgClass:"img-fluid img-responsive")
@imgSvc.Picture(image, width:"800", settings: "Content", imgAlt: altText)
</div>

0 comments on commit 02e9d40

Please sign in to comment.