Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 1610 Bytes
1 | <table cellspacing="1" cellpadding="0"> |
2 | <tr> |
3 | <th><%= _("Filename")%> <small>(right-click for link)</small></th> |
4 | <th><%= _("Content Type")%></th> |
5 | <th><%= _("MetaData")%></th> |
6 | <th><%= _("File Size")%></th> |
7 | <th><%= _("Uploaded")%></th> |
8 | <th><%= _("Delete")%></th> |
9 | </tr> |
10 | <% blog_root = request.relative_url_root -%> |
11 | <% for upload in resources -%> |
12 | <tr <%= alternate_class -%>> |
13 | <td><%= link_to "#{blog_root}/files/#{upload.filename}", "#{blog_root}/files/#{upload.filename}" -%></td> |
14 | <td> |
15 | <%= task_edit_resource_mime(upload.mime, upload.id) %> |
16 | <div id="edit-resource-mime-<%= upload.id %>" style="display:none;position:absolute;"> |
17 | <%= render :partial => "mime_edit", :locals => {:id => upload.id, :mime => upload.mime} %> |
18 | </div> |
19 | </td> |
20 | <% if upload.itunes_metadata? %> |
21 | <td> |
22 | <%= task_edit_resource_metadata(_("Edit MetaData") + ' (+/-)', upload.id) %> |
23 | <div id="edit-resource-metadata-<%= upload.id%>" style="display:none;position:absolute;"> |
24 | <%= render :partial => "metadata_edit" , :locals => {:id => upload.id, :resource => upload}%> |
25 | </div> |
26 | </td> |
27 | <% else -%> |
28 | <td> |
29 | <%= task_add_resource_metadata(_("Add MetaData") + ' (+/-)', upload.id) %> |
30 | <div id="add-resource-metadata-<%= upload.id%>" style="display:none;position:absolute;"> |
31 | <%= render :partial => "metadata_add", :locals => {:id => upload.id} %> |
32 | </div> |
33 | </td> |
34 | <% end -%> |
35 | <td><%=h upload.size rescue 0 -%> bytes</td> |
36 | <td><%=h upload.created_at.strftime('%Y-%m-%d %H:%M:%S') -%></td> |
37 | <td class="operation"><%= link_to_destroy upload -%></td> |
38 | </tr> |
39 | <% end -%> |
40 | </table> |