Changeset 66 in bookmarks for trunk/Bookmarks.pm


Ignore:
Timestamp:
02/04/14 15:21:17 (10 years ago)
Author:
peter
Message:
  • the bookmark.tt template takes a hash or object named bookmark as its only variable
  • moved the calculation of a human-readable timestamp and the ISO timestamps for the WayBack machine from the BookmarkController class into the Bookmark class as methods (created, updated, created_iso, and updated_iso
  • moved the exists flag into the Bookmark class as an attribute
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bookmarks.pm

    r57 r66  
    6363    return Bookmark->new({ 
    6464        %$bookmark, 
     65        exists   => 1, 
    6566        tags     => [ $self->get_tags({ uri => $bookmark->{uri} }) ], 
    6667        base_uri => $self->base_uri, 
Note: See TracChangeset for help on using the changeset viewer.