BP: entries_summary.tpl now uses date format set in theme options. Also added styles for archive_summary and archive_summary_title to style.css for better visual separation between summary entries.
This commit is contained in:
parent
4a295192a4
commit
a2cd21604e
@ -5,7 +5,7 @@
|
||||
{foreach from=$entries item="entries"}
|
||||
{foreach from=$entries.entries item="entry"}
|
||||
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
|
||||
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a> {/foreach}{/if}</div>
|
||||
{$entry.timestamp|@formatTime:$template_option.date_format}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a> {/foreach}{/if}</div>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
@ -159,6 +159,13 @@ ul.archives_row li {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.archive_summary_title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.archive_summary {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/*** s9y image manager ***/
|
||||
.serendipity_imageComment_center,
|
||||
|
Loading…
x
Reference in New Issue
Block a user