Replace status timestamp with a simple info tooltip.
This commit is contained in:
parent
a245a28c4b
commit
47ca296b66
@ -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}
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user