Commit 7146fcb9 authored by Jack Gilmour's avatar Jack Gilmour Committed by Kristina Hoeppner
Browse files

Bug 1701437: Add "Update" string to date on "Shared with me"

To make it clear that the date shown on a portfolio
is the created / update date and not the date when
a portfolio was shared.

behatnotneeded

Change-Id: Id273fae814dc27e03f5294b32425fa78a9b74dc9
parent 2b054fdb
......@@ -15,9 +15,12 @@
{else}
{$view.sharedby}
{/if}
<span class="postedon text-midtone"> - {$view.mtime|strtotime|format_date:'strftimerecentyear'}</span>
</div>
<span class="postedon text-midtone"> - {if $view.mtime == $view.ctime}
{str tag=Created}
{else}
{str tag=Updated}
{/if}
{$view.mtime|strtotime|format_date:'strftimedate'}
<div class="detail">{$view.description|str_shorten_html:70:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><strong>{str tag=tags}:</strong> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
......
......@@ -15,8 +15,13 @@
{else}
{$view.sharedby}
{/if}
<span class="postedon text-midtone"> - {$view.mtime|strtotime|format_date:'strftimerecentyear'}</span>
</div>
<span class="postedon text-midtone"> - {if $view.mtime == $view.ctime}
{str tag=Created}
{else}
{str tag=Updated}
{/if}
{$view.mtime|strtotime|format_date:'strftimedate'}
<div
{/if}
<div class="detail">{$view.description|str_shorten_html:70:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><strong>{str tag=tags}:</strong> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment