Changeset 64 in bookmarks for trunk/bookmark.tt


Ignore:
Timestamp:
09/10/13 16:54:01 (11 years ago)
Author:
peter
Message:
  • provide wayback machine links to the bookmarked URI at the ctime and mtime
  • assemble the created/updated line in the template instead of the controller
  • made the bookmark title into an h1 heading on the view/edit page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bookmark.tt

    r45 r64  
    55body, th, td { 
    66    font-size: .875em; 
     7} 
     8h1 { 
     9  font-size: 1.25em; 
    710} 
    811li { 
     
    1720  <body> 
    1821    <div> 
     22      <h1> 
    1923      [% UNLESS exists %] 
    2024        <strong>New bookmark:</strong> 
    2125      [% END %] 
    2226      <a href="[% uri | html %]" target="_blank">[% title or uri %]</a> 
     27      </h1> 
    2328      [% IF exists %] 
    24         <p class="timestamps">[% created %]</p> 
     29        <p class="timestamps"> 
     30          Bookmark created <a href="http://web.archive.org/web/[% created_iso %]/[% uri %]" title="Nearest Wayback Machine Link" target="_blank">[% created %]</a>[% IF mtime != ctime %]; updated 
     31          <a href="http://web.archive.org/web/[% updated_iso %]/[% uri %]" title="Nearest Wayback Machine Link" target="_blank">[% updated %]</a>[% END %] 
     32        </p> 
    2533        [% IF tags.size %] 
    2634          <p class="tags">Tagged as: 
Note: See TracChangeset for help on using the changeset viewer.