Additional entry status "Published" added.

Also changed the overlong label text for scheduled entries. Both
need new or changed lang constants.
This commit is contained in:
Matthias Mees 2014-01-25 20:49:33 +01:00
parent 4e923e1aeb
commit 756c47980d
2 changed files with 5 additions and 2 deletions

View File

@ -162,7 +162,10 @@
{/if}
</span>
{if !$showFutureEntries && ($entry.timestamp >= $serverOffsetHour)}
<span class="entry_status status_future">{$CONST.ENTRY_PUBLISHED_FUTURE}</span>
<span class="entry_status status_future">Scheduled{* $CONST.ENTRY_PUBLISHED_FUTURE *}</span>{* i18n *}
{/if}
{if ($entry.timestamp < $serverOffsetHour) && !$entry.isdraft}
<span class="entry_status status_published">Published</span> {* i18n *}
{/if}
{if $entry.ep_is_sticky}
<span class="entry_status status_sticky">{$CONST.STICKY_POSTINGS}</span>

View File

@ -58,7 +58,7 @@
<li><a class="button_link" href="?serendipity[action]=admin&amp;serendipity[adminModule]=entries&amp;serendipity[adminAction]=edit&amp;serendipity[id]={$entry.id}" title="{$CONST.EDIT} #{$entry.id}"><span class="icon-edit"></span><span class="visuallyhidden"> {$CONST.EDIT}</span></a></li>
</ul>
{if !$showFutureEntries && ($entry.timestamp >= $serverOffsetHour) && $entry.isdraft == "false"}
<span class="entry_status status_future">{$CONST.ENTRY_PUBLISHED_FUTURE}</span>
<span class="entry_status status_future">Scheduled{* $CONST.ENTRY_PUBLISHED_FUTURE *}</span>{* i18n *}
{/if}
{if $entry.ep_is_sticky}
<span class="entry_status status_sticky">{$CONST.STICKY_POSTINGS}</span>