Changeset 78
- Timestamp:
- 12/05/10 18:48:22 (14 years ago)
- Location:
- server/trunk/web
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Rpms.pm
r76 r78 4 4 use Encode::Guess; 5 5 use Encode; 6 use POSIX; 6 7 7 8 BEGIN {extends 'Catalyst::Controller'; } … … 276 277 : $_->get_column('name'); 277 278 $chentry->{time} = $_->get_column('time'); 279 $chentry->{date} = POSIX::strftime('%a %b %e %Y', gmtime($_->get_column('time'))); 278 280 push(@ch, $chentry); 279 281 } -
server/trunk/web/root/templates/html/rpms/changelog.html
r57 r78 1 1 <!-- $Id$ --> 2 2 3 [% INCLUDE 'rpms/menu.tt' %] 4 3 5 [% INCLUDE 'rpms/changelog.tt' %] -
server/trunk/web/root/templates/html/rpms/changelog.tt
r57 r78 4 4 <div id="sophie_changelog"> 5 5 6 [% FOREACH change = xmlrpc.changelog %] 6 [% FOREACH change = xmlrpc %] 7 [% IF loop.first %]<ul class="sophie_changelog">[% END %] 8 <li>[% change.date | html %] [% change.name | html %] 9 <p>[% change.text | html_line_break %]</p> 10 </li> 11 [% IF loop.last %]</ul>[% END %] 7 12 [% END %] 8 13 -
server/trunk/web/root/templates/html/rpms/rpms.tt
r57 r78 16 16 <h2>Description:</h2> 17 17 <div id="sophie_rpm_description"> 18 [% xmlrpc.info.description | html | html_ para%]18 [% xmlrpc.info.description | html | html_line_break %] 19 19 </div> 20 20 </div>
Note: See TracChangeset
for help on using the changeset viewer.