Skip to content

Commit 7dd8f46

Browse files
committed
Next pass at bootstrap conversion
1 parent 7b41105 commit 7dd8f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/News.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if (is_null($news_posts) || empty($news_posts)) { ?>
5252
</span>
5353
<h1 class="display-4"><a href="<?=$url?>"><?=filter_var($news_post_title, FILTER_SANITIZE_STRING)?></a></h1>
5454
<? if (!($news_post->getOptionsBitmask() & NewsPost::OPTION_PUBLISHED)) { ?>
55-
<section class="red"><p><strong>Warning:</strong> This news post is not yet published. You can view this because you are allowed to create, modify, or delete news posts.</p></section>
55+
<div class="alert alert-warning"><p><strong>Warning:</strong> This news post is not yet published. You can view this because you are allowed to create, modify, or delete news posts.</p></div>
5656
<? } ?>
5757
<div style="background-color:rgba(0,0,0,0.45);" class="font-weight-bold float-left mb-2 mr-2 p-2 rounded small shadow text-center"><img alt="<?=$news_post->getCategory()->getLabel()?>" title="<?=$news_post->getCategory()->getLabel()?>" src="<?=Common::relativeUrlToAbsolute('/a/news_categories/' . $news_post->getCategory()->getFilename())?>"/><br/><?=$news_post->getCategory()->getLabel()?></div><?=$news_post->getContent(true)?>
5858
</div></div>

0 commit comments

Comments
 (0)