Difference between revisions of "Widget:NewsDisplay"

 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="media"><a class="pull-left" href="<!--{$user|escape:'url'}-->"><img class="media-object" src="<!--{$gravatar_url|escape:'html'}-->" alt="<!--{$user|escape:'html'}-->"></a>
+
<div class="media"><div class="pull-left"><img class="media-object img-circle" style="opacity: 0.5;" src="<!--{$icon_url|escape:'html'}-->" alt="<!--{$user|escape:'html'}-->"></div>
<div class="media-body">
+
<div class="media-body"><!--{if $format eq 'Short'}-->
<a href="<!--{$article_url|escape:'html'}-->"><h4 class="media-heading"><!--{$title|escape:'html'}--></h4></a>
+
<h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4>
 +
<!--{else}-->
 +
<a href="/News:<!--{$title|escape:'html'}-->"><h4 class="media-heading" style="line-height: 18px; font-size: 14px;  font-weight: bold; "><!--{$title|escape:'html'}--></h4></a><!--{/if}-->
 
<!--{$body|escape:'html'}-->
 
<!--{$body|escape:'html'}-->
</div>
+
</div>  
 
<div style="float: right; text-align: right; display: inline-block;">
 
<div style="float: right; text-align: right; display: inline-block;">
<span style="color: #888; font-size: 10px;"><!--{$date|escape:'html'}--> by <a href="<!--{$user|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
+
<span style="color: #888; font-size: 10px;"><!--{$date|escape:'html'}--> by <a href="/User:<!--{$user|escape:'html'}-->"><!--{$user|escape:'html'}--></a></span>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 00:28, October 23, 2014

<a href="/News:">

</a>

by <a href="/User:"></a>