[38268] branches/gsoc08-mpwa/app/views/home
digx at macports.org
digx at macports.org
Mon Jul 14 00:14:43 PDT 2008
Revision: 38268
http://trac.macosforge.org/projects/macports/changeset/38268
Author: digx at macports.org
Date: 2008-07-14 00:14:42 -0700 (Mon, 14 Jul 2008)
Log Message:
-----------
Renamed show.rhtml to index.html.erb
Added Paths:
-----------
branches/gsoc08-mpwa/app/views/home/index.html.erb
Removed Paths:
-------------
branches/gsoc08-mpwa/app/views/home/show.rhtml
Copied: branches/gsoc08-mpwa/app/views/home/index.html.erb (from rev 38264, branches/gsoc08-mpwa/app/views/home/show.rhtml)
===================================================================
--- branches/gsoc08-mpwa/app/views/home/index.html.erb (rev 0)
+++ branches/gsoc08-mpwa/app/views/home/index.html.erb 2008-07-14 07:14:42 UTC (rev 38268)
@@ -0,0 +1,32 @@
+
+<p>Welcome to <strong>MacPorts</strong>, home to <strong><%= Port.count %></strong> ports.</p>
+
+<h4>Primary Port Categories</h4>
+<table>
+ <% for row in columnize(@main_tags.sort, 6) %>
+ <tr>
+ <% for tag in row %>
+ <td><%= link_to tag, tag_url(tag) if tag %></td>
+ <% end %>
+ </tr>
+ <% end %>
+</table>
+
+<h4>Recent Package Submissions</h4>
+<table>
+ <tr>
+ <th>Portname</th>
+ <th>Version</th>
+ <th>Date</th>
+ </tr>
+ <% for pkg in @recent_pkgs %>
+ <% pkg_desc = pkg.epoch.to_i != 0 ?
+ "(#{pkg.epoch}) #{pkg.version}_#{pkg.revision}" :
+ "#{pkg.version}_#{pkg.revision}" %>
+ <tr>
+ <td><%= link_to pkg.port.name, :controller => 'port', :action => 'show', :id => pkg.port %></td>
+ <td><%= link_to pkg_desc, :controller => 'port_pkg', :action => 'show', :id => pkg %></td>
+ <td><%=h pkg.submitted_at.to_formatted_s(:long) %></td>
+ </tr>
+ <% end %>
+</table>
Deleted: branches/gsoc08-mpwa/app/views/home/show.rhtml
===================================================================
--- branches/gsoc08-mpwa/app/views/home/show.rhtml 2008-07-14 07:07:14 UTC (rev 38267)
+++ branches/gsoc08-mpwa/app/views/home/show.rhtml 2008-07-14 07:14:42 UTC (rev 38268)
@@ -1,32 +0,0 @@
-
-<p>Welcome to <strong>MacPorts</strong>, home to <strong><%= Port.count %></strong> ports.</p>
-
-<h4>Primary Port Categories</h4>
-<table>
- <% for row in columnize(@main_tags.sort, 6) %>
- <tr>
- <% for tag in row %>
- <td><%= link_to tag, tag_url(tag) if tag %></td>
- <% end %>
- </tr>
- <% end %>
-</table>
-
-<h4>Recent Package Submissions</h4>
-<table>
- <tr>
- <th>Portname</th>
- <th>Version</th>
- <th>Date</th>
- </tr>
- <% for pkg in @recent_pkgs %>
- <% pkg_desc = pkg.epoch.to_i != 0 ?
- "(#{pkg.epoch}) #{pkg.version}_#{pkg.revision}" :
- "#{pkg.version}_#{pkg.revision}" %>
- <tr>
- <td><%= link_to pkg.port.name, :controller => 'port', :action => 'show', :id => pkg.port %></td>
- <td><%= link_to pkg_desc, :controller => 'port_pkg', :action => 'show', :id => pkg %></td>
- <td><%=h pkg.submitted_at.to_formatted_s(:long) %></td>
- </tr>
- <% end %>
-</table>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080714/8544555b/attachment.html
More information about the macports-changes
mailing list