Commit 20cf4d20 authored by Liam Sharpe's avatar Liam Sharpe Committed by Son Nguyen

Changes some of the colors around mahara slightly to fix the contrast - Bug #1465107

behatnotneeded

Change-Id: Ibe2edeeb178018e7d0bdf9814ce31c2f03f742fb
parent 7a993ffe
......@@ -33,7 +33,7 @@ $quotasform = pieform(array(
'hiddenlabel' => true,
'title' => get_string('filequota1', 'admin'),
'defaultvalue' => $group->quota,
'description' => '<p class="text-small text-lighttone">' .get_string('groupfilequotadescription', 'admin') . '</p>',
'description' => '<p class="text-small text-midtone">' .get_string('groupfilequotadescription', 'admin') . '</p>',
),
'submit' => array(
'type' => 'submit',
......
......@@ -337,7 +337,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
$html = '<span class="blocktype_internalmedia_mp3" id="' . $id . '" style="display:block;width:'.$width.'px;height:'.$height.'px;"></span>';
$html .= '<span id="' . $id . '_h">' . get_string('flashanimation', 'blocktype.file/internalmedia') . '</span>';
$html .= '<div class="media-download content-text"><span class="icon icon-download left"></span><span class="sr-only">'.get_string('Download', 'artefact.internal').'</span><a class="media-link text-small" href="' . $url . '">' . hsc($artefact->get('title')) . '</a>';
$html .= '<span class="text-lighttone text-small"> ['.$filesize.'] </span></div>';
$html .= '<span class="text-midtone text-small"> ['.$filesize.'] </span></div>';
$html .= '<script type="application/javascript">
flowplayer("'.$id.'", "'.$playerurl.'", {
clip: {
......
......@@ -1025,14 +1025,14 @@ EOF;
return "
function (r, d) {
if (!{$bodystring} && !{$attachstring}) {
return TD(null, SPAN(null, {$titlestring}), DIV({'class': 'detail text-lighttone'}, {$extrastring}));
return TD(null, SPAN(null, {$titlestring}), DIV({'class': 'detail text-midtone'}, {$extrastring}));
}
var link = A({'class': 'toggle textonly', 'href': ''}, {$titlestring});
connect(link, 'onclick', function (e) {
e.stop();
return showhideComposite(r, {$bodystring}, {$attachstring});
});
var extra = DIV({'class': 'detail text-lighttone'}, {$extrastring});
var extra = DIV({'class': 'detail text-midtone'}, {$extrastring});
return TD({'id': 'composite-' + r.artefact + '-' + r.id}, DIV({'class': 'expandable-head'}, link, extra));
},
";
......
......@@ -7,10 +7,3 @@
}
}
}
.outer-link {
&:focus,
&:hover {
background-color: rgba(250, 255, 234, 0.2);
}
}
......@@ -29,7 +29,7 @@
color: #FFFFFF;
}
.metadata {
.text-midtone {
color: #eef3e9;
font-size: 11px;
margin-top: 5px;
......
......@@ -10,4 +10,3 @@ $theme-accent-color: #474220;
$theme-text-lighttone-color: #888;
$theme-text-midtone-color: #888;
......@@ -4,8 +4,8 @@
border-color: $brand-secondary;
color: #FFF;
.metadata {
color: desaturate(lighten($theme-secondary-color, 30), 26);
.text-midtone {
color: desaturate(lighten($theme-secondary-color, 30), 10);
}
}
}
\ No newline at end of file
......@@ -135,7 +135,7 @@ jQuery(function($) {
if(context.find('.js-dropdown-context').length > 0){
context.find('.js-dropdown-context').html('(' + val + ')');
} else {
context.find('.js-with-dropdown label').append('<em class="js-dropdown-context metadata">('+ val + ')</em>');
context.find('.js-with-dropdown label').append('<em class="js-dropdown-context text-midtone text-small">('+ val + ')</em>');
}
}
......
......@@ -9,7 +9,7 @@ return <<<EOF
<div class="checkbox">
{$element['html']}
{$element['labelhtml']}
<div class="text-small text-lighttone with-label">
<div class="text-small text-midtone with-label">
{$element['description']}
<a href="{$element['viewlink']}" class="viewlink text-small nojs-hidden-inline" target="_blank">{$strclicktopreview}</a>
</div>
......@@ -73,7 +73,7 @@ $row = $col = 0;
$itemsinrow = 3;
foreach ($elements as $key => $element) {
if (substr($key, 0, 11) == 'collection_') {
$body[$row][$col] = '<div class="checkbox">' . $element['html'] . $element['labelhtml'] . '<p class="with-label text-small text-lighttone labeldescriptpreview">' . hsc($element['description']) . '</p></div>';
$body[$row][$col] = '<div class="checkbox">' . $element['html'] . $element['labelhtml'] . '<p class="with-label text-small text-midtone labeldescriptpreview">' . hsc($element['description']) . '</p></div>';
$col++;
if ($col % $itemsinrow == 0) {
$row++;
......
......@@ -56,14 +56,14 @@
<div id="{$feedback.id}_desc" class="detail hidden">
{$feedback.description|clean_html|safe}
</div>
<span id="annotationfeedbackstatus{$feedback.id}" class="annotationfeedbackstatus text-small text-lighttone">
<span id="annotationfeedbackstatus{$feedback.id}" class="annotationfeedbackstatus text-small text-midtone">
{if $feedback.private}
{str tag=private section=artefact.annotation}
{else}
{str tag=public section=artefact.annotation}
{/if}
</span>
<div id="annotationfeedbackdetails_{$feedback.id}" class="annotationfeedbackdetails text-small text-lighttone">
<div id="annotationfeedbackdetails_{$feedback.id}" class="annotationfeedbackdetails text-small text-midtone">
{str tag=enteredon section=artefact.annotation} {$feedback.ctime}
</div>
<!-- TODO Display existing annotation feedbacks and annotation feedback count with section title -->
......
......@@ -22,7 +22,7 @@
</div>
{/if}
<div class="taggedpost-title text-lighttone panel-body flush">
<div class="taggedpost-title text-midtone panel-body flush">
{$blockheading|clean_html|safe}
{if $viewowner}
{$tag} {str tag='by' section='artefact.blog'}
......@@ -33,9 +33,9 @@
</div>
{if $configerror}
<span class="text-lighttone">{str tag='configerror' section='blocktype.blog/taggedposts'}</span>
<span class="text-midtone">{str tag='configerror' section='blocktype.blog/taggedposts'}</span>
{elseif $badtag}
<span class="text-lighttone">{str tag='notags' section='blocktype.blog/taggedposts' arg1=$badtag}</span>
<span class="text-midtone">{str tag='notags' section='blocktype.blog/taggedposts' arg1=$badtag}</span>
{elseif $full}
<div id="blogdescription">
<div id="postlist_{$blockid}" class="list-group">
......
......@@ -59,7 +59,7 @@
{$post.title|str_shorten_text:80:true}
{/if}
</h4>
<span id="poststatus{$post.id}" class="poststatus text-small text-lighttone">
<span id="poststatus{$post.id}" class="poststatus text-small text-midtone">
{if $post.published}
({str tag=published section=artefact.blog})
{else}
......
......@@ -21,7 +21,7 @@
</span>
</a>
</h4>
<span class="text-small text-lighttone"> -
<span class="text-small text-midtone"> -
{$file.ctime|format_date:'strftimedaydate'}
[{$file.size|display_size}]
</span>
......
......@@ -49,7 +49,7 @@
<span class="icon icon-download icon-lg pull-right text-watermark icon-action"></span>
{/if}
{if $child->description}
<p class="file-description text-small text-lighttone">
<p class="file-description text-small text-midtone">
{$child->description}
</p>
{/if}
......
......@@ -8,7 +8,7 @@
<h5 class="title list-group-item-heading text-inline">
{$file.title|str_shorten_text:80:true}
</h5>
<span class="filesize text-small text-lighttone">
<span class="filesize text-small text-midtone">
({$file.filesize|display_size})
</span>
<div id="{$file.id}_desc" class="detail">
......
......@@ -59,7 +59,7 @@
</a>
</h4>
{if $task.completed == 1}
<span class="completed text-small text-lighttone">
<span class="completed text-small text-midtone">
({str tag=completed section=artefact.plans})
</span>
{/if}
......
......@@ -7,7 +7,7 @@
<span class="overdue-task">
<span class="icon icon-times text-danger icon-lg left"></span>
<span class="text-danger">{$task->title}</span> -
<span class="text-small text-lighttone">
<span class="text-small text-midtone">
{str tag='completiondate' section='artefact.plans'}: {$task->completiondate}
</span>
{if $task->description}
......@@ -39,12 +39,12 @@
<span class="icon icon-check-square-o icon-lg text-success left"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span>
{else}
<span class="icon-square-o icon icon-lg text-lighttone left"></span>
<span class="icon-square-o icon icon-lg text-midtone left"></span>
<span class="sr-only">{str tag=incomplete section=artefact.plans}</span>
{/if}
<span class="text-default">{$task->title}</span> -
<span class="text-lighttone text-small">
<span class="text-midtone text-small">
{str tag='completiondate' section='artefact.plans'}: {$task->completiondate}
</span>
......
......@@ -3,7 +3,7 @@
<div id="blocktype_externalfeed_title" >
{if $description && $description != $entries[0]->description}
<div class="panel-body flush">
<div id="blocktype_externalfeed_desc" class="feed-decription text-lighttone text-small">
<div id="blocktype_externalfeed_desc" class="feed-decription text-midtone text-small">
{$description|clean_html|safe}
</div>
</div>
......@@ -51,7 +51,7 @@
</ol>
{/if}
<div id="blocktype_externalfeed_lastupdate" class="content-text text-right text-small text-lighttone">
<div id="blocktype_externalfeed_lastupdate" class="content-text text-right text-small text-midtone">
{$lastupdated}
</div>
</div>
......
......@@ -13,7 +13,7 @@
</div>
{if $post->postcount}
<div class="postcount text-lighttone">
<div class="postcount text-midtone">
{$post->postcount}
</div>
{/if}
......@@ -33,7 +33,7 @@
</div>
{/if}
<p class="posttime detail text-small text-lighttone">
<p class="posttime detail text-small text-midtone">
{$post->ctime}
</p>
......
......@@ -21,7 +21,7 @@
{/if}
{if $topic->closed || $topic->subscribed || $sticky}
{if $sticky}
<span class="icon icon-asterisk icon-sm left text-lighttone"></span>
<span class="icon icon-asterisk icon-sm left text-midtone"></span>
{/if}
{if $topic->closed}
......
......@@ -24,7 +24,7 @@
</h3>
{else}
<h3 class="title list-group-item-heading text-inline">
<span class="icon icon-{$record->artefacttype} left {if $record->deleted}text-lighttone{/if}"></span>
<span class="icon icon-{$record->artefacttype} left {if $record->deleted}text-midtone{/if}"></span>
{if $record->link}
<a href="{$WWWROOT}{$record->link}">
{$record->title|str_shorten_html:50:true|safe}
......@@ -34,7 +34,7 @@
{/if}
</h3>
{/if}
<span class="artefacttype text-lighttone">
<span class="artefacttype text-midtone">
{if $secfacetterm == "Journalentry"}
({str tag=blogpost section=search.elasticsearch})
{elseif $secfacetterm == "Forumpost"}
......
......@@ -11,7 +11,7 @@
{$record->title|str_shorten_html:50:true|safe}
</h3>
{/if}
<span class="artefacttype text-lighttone">
<span class="artefacttype text-midtone">
({str tag=document section=search.elasticsearch})
{if $record->deleted}
({str tag=deleted section=search.elasticsearch})
......
......@@ -3,7 +3,7 @@
<span class="icon icon-folder-open left"></span>
{$record->name}
</h3>
<span class="artefacttype text-lighttone">({str tag=deleted section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=deleted section=search.elasticsearch})</span>
{else}
<h3 class="title">
<span class="icon icon-folder-open left"></span>
......
{if $record->deleted}
<h3 class="title list-group-item-heading">
<span class="icon icon-users left text-lighttone"></span>
<span class="icon icon-users left text-midtone"></span>
{$record->name} ({str tag=deleted section=search.elasticsearch})
</h3>
{else}
......
......@@ -3,7 +3,7 @@
<span class="icon icon-commenting-o left"></span>
{$record->subject}
</h3>
<span class="artefacttype text-lighttone">({str tag=deletedforumpost section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=deletedforumpost section=search.elasticsearch})</span>
{else}
<h3 class="title list-group-item-heading text-inline">
<span class="icon icon-commenting-o left"></span>
......@@ -11,7 +11,7 @@
{$record->subject}
</a>
</h3>
<span class="artefacttype text-lighttone">({str tag=forumpost section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=forumpost section=search.elasticsearch})</span>
<div class="source"><strong>{str tag='forum' section='search.elasticsearch'}:</strong> {$record->forumname} ({$record->groupname})</div>
<div class="poster"><strong>{str tag='forumpostedbylabel' section='search.elasticsearch'}:</strong> {str tag=forumpostedby section=search.elasticsearch arg1='$record->authorlink|safe' arg2='$record->ctime'}</div>
<div class="detail">{$record->body|str_shorten_html:140:true:false|safe}</div>
......
{if $record->deleted}
<span class="icon icon-comments-o left text-lighttone"></span>
<span class="icon icon-comments-o left text-midtone"></span>
<h3 class="title list-group-item-heading">{$record->title}</h3>
<span class="artefacttype text-lighttone">({str tag=deletedforumpost section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=deletedforumpost section=search.elasticsearch})</span>
{else}
<h3 class="title list-group-item-heading text-inline">
<span class="icon icon-comments-o left"></span>
......@@ -9,6 +9,6 @@
{$record->title}
</a>
</h3>
<span class="artefacttype text-lighttone">({str tag=forum section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=forum section=search.elasticsearch})</span>
<div class="detail">{$record->description|str_shorten_html:140:true|safe}</div>
{/if}
{if $record->deleted}
<h3 class="title list-group-item-heading text-inline">
<span class="icon icon-icon-file left text-lighttone"></span>
<span class="icon icon-icon-file left text-midtone"></span>
{$record->title}
</h3>
<span class="artefacttype text-lighttone">({str tag=deleted section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=deleted section=search.elasticsearch})</span>
{else}
<h3 class="title list-group-item-heading text-inline">
<span class="icon icon-file left"></span>
<a href="{$WWWROOT}view/view.php?id={$record->id}">{$record->title}</a>
</h3>
<span class="artefacttype text-lighttone">({str tag=page section=search.elasticsearch})</span>
<span class="artefacttype text-midtone">({str tag=page section=search.elasticsearch})</span>
{if $record->createdbyname}
<div class="createdby">
{if $record->anonymise}
......
......@@ -196,6 +196,7 @@
.progress-bar {
position: relative;
background-color: darken($brand-primary, 5%);
&.small-progress span {
color: $text-color;
display: block;
......
......@@ -57,4 +57,4 @@
}
}
}
}
}
\ No newline at end of file
......@@ -31,7 +31,7 @@
padding: 3px 15px;
}
small {
@extend .text-muted;
@extend .text-midtone;
}
}
&.list-group-unbordered {
......@@ -95,12 +95,12 @@ h4.list-group-item-heading {
.list-group-item-link {
padding: 0;
a {
@extend .text-default;
font-size: $font-size-small;
display: block;
padding: 10px 15px;
color: #666;
&:hover {
background: darken(#f0f0f0, 1%);
background: darken(#f0f0f0, 0.5%);
text-decoration: none;
color: darken($link-color, 5%);
}
......
......@@ -118,7 +118,7 @@
background: #fff;
border: 0;
box-shadow: none;
color: #666;
color: $theme-text-midtone-color;
padding-right: 0;
}
&.input-short {
......
......@@ -370,7 +370,7 @@
label {
font-size: 0.8em;
color: #888;
color: $theme-text-midtone-color;
}
&.customrowtitle {
width: 70px;
......@@ -523,7 +523,7 @@
padding-top: 10px;
}
.requiredmarker {
color: $brand-danger;
color: darken($brand-danger, 5%);
}
@media (min-width: $screen-sm-min) {
......@@ -541,3 +541,18 @@
padding-bottom: 20px;
}
// Style placeholder text
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #777 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #777 !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #777 !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #777 !important;
}
\ No newline at end of file
......@@ -69,6 +69,7 @@
}
&:hover, &:focus {
text-decoration:none;
color: $link-color;
}
}
// Only shown on mobile, or when dropdowns are turned on
......
......@@ -17,10 +17,10 @@
}
&:hover,
&:focus {
color: $nav-tabs-active-link-hover-color;
color: $link-color;
border: 1px solid transparent;
border-bottom: 3px solid $nav-tabs-link-hover-border-color;
background: #f7f7f7;
background: #f9f9f9;
}
}
}
......@@ -33,6 +33,7 @@
}
.nav-tabs>li.active>a {
color: $link-color;
border: 1px solid transparent;
border-bottom: 3px solid $nav-tabs-active-link-hover-border-color;
&:hover,
......
......@@ -13,7 +13,7 @@
}
.list-group-item small {
@extend .text-lighttone;
@extend .text-midtone;
font-size: $font-size-base - 2;
}
......
......@@ -153,7 +153,7 @@ a {
padding: 5px 20px;
}
}
font-size: $font-size-base - 1;
font-size: $font-size-base - 1;
float: left;
margin: 10px 0;
padding: 5px 7px;
......@@ -234,7 +234,7 @@ label.lead {
.metadata {
font-family: $font-family-sans-serif;
font-size: 0.8em;
color: #888;
color: #555;
.title & {
margin-left: 5px;
}
......@@ -249,4 +249,4 @@ label.lead {
.licenseicon {
padding: 0 10px 5px 0;
}
\ No newline at end of file
}
......@@ -22,7 +22,7 @@ $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
$brand-default: #ECECEC !default;
$brand-primary: $theme-primary-color !default;
$brand-success: #629600 !default; // this is intially the same as brand-primary but needs to be divorced from the variable for semantic reasons
$brand-success: #426600 !default; // this is intially the same as brand-primary but needs to be divorced from the variable for semantic reasons
$brand-info: #5bc0de !default;
$brand-warning: #f0ad4e !default;
$brand-danger: #d9534f !default;
......@@ -181,8 +181,8 @@ $btn-default-bg: #F9F9F9 !default;
$btn-default-border: #ccc !default;
$btn-primary-color: #fff !default;
$btn-primary-bg: $brand-primary !default;
$btn-primary-border: darken($btn-primary-bg, 8%) !default;
$btn-primary-bg: darken($brand-primary, 5%) !default;
$btn-primary-border: darken($brand-primary, 8%) !default;
$btn-success-color: #fff !default;
$btn-success-bg: $brand-success !default;
......
......@@ -6,7 +6,7 @@
{$group->name}
</h3>
{if $group->settingsdescription}
<span class="text-lighttone">
<span class="text-midtone">
- {$group->settingsdescription}
</span>
{/if}
......
......@@ -2,9 +2,10 @@
<tr>
<td>
<h3 class="title"><a href="{$WWWROOT}interaction/forum/topic.php?id={$topic->id}">{$topic->topicname|str_shorten_text:65:true}</a></h3>
<div class="forumpath text-small text-lighttone">
<div class="forumpath text-small text-midtone">
<a href="{$topic->groupurl}" class="topicgroup text-muted">{$topic->groupname|str_shorten_text:20:true}</a> /
<a href="{$WWWROOT}interaction/forum/view.php?id={$topic->forumid}" class="topicforum text-muted">{$topic->forumname|str_shorten_text:20:true}</a>
<a href="{$WWWROOT}interaction/forum/view.php?id={$topic->forumid}" class="topicforum text-midtone">{$topic->forumname|str_shorten_text:20:true}</a>
</div>
</td>
......@@ -13,7 +14,7 @@
{$topic->body|str_shorten_html:80:true|strip_tags|safe}
</p>
<span class="poster text-small text-lighttone">
<span class="poster text-small text-midtone">
<a href="{profile_url($topic->poster)}">
{$topic->poster|display_name}
</a>
......
......@@ -106,7 +106,7 @@
<span class="{$pageicon}"></span>
{/if}
{if $subsectionheading}
<span class="subsection-heading">
<span class="section-heading">
{$subsectionheading}
</span>
{/if}
......
......@@ -6,7 +6,7 @@
<span class="icon left pull-left icon-{$result->typestr}"></span>
<a href="{$result->url}">{$result->title}</a>
</h3>
<span class="tag-type text-lighttone">({$result->typelabel})</span>
<span class="tag-type text-midtone">({$result->typelabel})</span>
<p>{$result->ctime}</p>
<p>
{$result->description|str_shorten_html:100|strip_tags|safe}
......
......@@ -2,7 +2,7 @@
<h3 class="panel-heading">
{str tag="onlineusers" args=$sbdata.count}
<br>
<span id="lastminutes" class="metadata">({str tag="lastminutes" args=$sbdata.lastminutes})</span>
<span id="lastminutes" class="text-small text-midtone">({str tag="lastminutes" args=$sbdata.lastminutes})</span>
</h3>
<ul class="list-group">
{foreach from=$sbdata.users item=user}
......@@ -16,10 +16,8 @@
</li>
{/foreach}
</ul>
<a href="{$WWWROOT}user/online.php" class="online-users panel-footer" id="allonline">
<a href="{$WWWROOT}user/online.php" class="online-users panel-footer text-small" id="allonline">
{str tag="allonline"}
<span class="icon icon-arrow-circle-right pull-right"></span>
</a>
</div>
......@@ -35,7 +35,7 @@
<li><a href="{group_homepage_url($group)}" class="bordered">{$group->name} {if $group->role == 'admin'}<small>({str tag=Admin section=group})</small>{/if}</a></li>
{/foreach}
</ul>
<span class="text-small text-lighttone">{$sbdata.grouplimitstr}</span>
<span class="text-small text-midtone">{$sbdata.grouplimitstr}</span>
</div>
{/if}
{if $sbdata.views}
......
......@@ -8,7 +8,7 @@
<a class="tag"{if $tag->size} style="font-size: {$tag->size}em;"{/if} href="{$WWWROOT}tags.php?tag={$tag->tag|urlencode|safe}" title="{str tag=nitems arg1=$tag->count}">{$tag->tag|str_shorten_text:20}</a> &nbsp;
{/foreach}
{else}
{str tag=youhavenottaggedanythingyet}
<div class="no-results-small text-small">{str tag=youhavenottaggedanythingyet}</div>
{/if}
</div>
</div>
......@@ -11,11 +11,11 @@
<h4 class="list-group-item-heading middle">
{$user->display_name}
{if $user->pending}
<span class="pendingfriend text-small text-lighttone">
<span class="pendingfriend text-small text-midtone">
- {str tag='pending' section='group'}
</span>
{elseif $user->friend && $page == 'find'}
<span class="existingfriend text-small text-lighttone">
<span class="existingfriend text-small text-midtone">
- {str tag='existingfriend' section='group'}
</span>
{/if}
......
......@@ -15,7 +15,7 @@
{else}
{$view.sharedby}
{/if}
<span class="postedon text-lighttone"> - {$view.mtime|strtotime|format_date:'strftimerecentyear'}</span>
<span class="postedon text-midtone"> - {$view.mtime|strtotime|format_date:'strftimerecentyear'}</span>
</div>
{/if}
<div class="detail">{$view.description|str_shorten_html:70:true|strip_tags|safe}</div>
......@@ -27,7 +27,7 @@
<div class="comment">
<a href="{$WWWROOT}view/view.php?id={$view.lastcommentviewid}&showcomment={$view.commentid}" title="{str tag=viewcomment section=artefact.comment}">{$view.commenttext|str_shorten_html:40:true|strip_tags|safe}</a>
</div>
<span class="postedon text-lighttone text-block">{$view.lastcommenttime|strtotime|format_date:'strftimerecentyear'}</span>
<span class="postedon text-midtone text-block">{$view.lastcommenttime|strtotime|format_date:'strftimerecentyear'}</span>
{if $view.commentauthor}
<span class="poster">
<a href="{