Replace status timestamp with a simple info tooltip.

This commit is contained in:
Matthias Mees 2013-06-28 14:21:37 +02:00
parent a245a28c4b
commit 47ca296b66
3 changed files with 6 additions and 7 deletions

View File

@ -142,7 +142,7 @@
<div class="entry_info clearfix">
<span class="status_timestamp">
{$entry.timestamp|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}{if $entry.timestamp <= ($entry.last_modified - 1800)} <a class="icon_link" href="#" title="{$CONST.LAST_UPDATED}: {$entry.last_modified|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}"><span class="icon-info-circled"></span><span class="visuallyhidden"> {$CONST.LAST_UPDATED}</span></a>{/if}
{$entry.timestamp|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}{if $entry.timestamp <= ($entry.last_modified - 1800)} <span class="icon-info-circled" title="{$CONST.LAST_UPDATED}: {$entry.last_modified|@formatTime:"{$CONST.DATE_FORMAT_SHORT}"}"></span><span class="visuallyhidden"> {$CONST.LAST_UPDATED}</span>{/if}
</span>
<span class="entry_meta">{$CONST.POSTED_BY} {$entry.author|escape}

View File

@ -678,12 +678,6 @@ window.log = function f(){ log.history = log.history || []; log.history.push(arg
// Click events
//
// Show entry timestamp
$('.status_timestamp > a').click(function(e) {
alert($(this).attr('title'));
e.preventDefault();
});
// Make the timestamp readable in browser not supporting datetime-local.
// Has no effect in those supporting it, as the timestamp is invalid in HTML5
if($entryEditor.size() > 0) {

View File

@ -1527,6 +1527,11 @@ form > .button_link:first-of-type {
min-width: 11em;
}
.status_timestamp .icon-info-circled {
color: #3e5f81;
cursor: help;
}
.show_config_option {
text-decoration: none;
}