Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 1263 Bytes
1 | <% @page_heading = 'Articles' %> |
2 | |
3 | <% content_for('tasks') do %> |
4 | <%= task_edit 'Edit this article', @article.id %> |
5 | <li><%= link_to 'View article on your blog', article_url(@article) %></li> |
6 | <% end %> |
7 | |
8 | <h3><%=h @article.title %></h3> |
9 | |
10 | <div class="form"> |
11 | <div><%=@article.body_html %></div> |
12 | <div><%=@article.extended_html %></div> |
13 | <p class="meta"><label>Posted:</label> <%=h @article.created_at.to_formatted_s(:long_weekday) %> by <%=h @article.author %></p> |
14 | <p class="meta"><label>Lasted updated:</label> <%=h @article.updated_at.to_formatted_s(:long_weekday) %></p> |
15 | <p class="meta"><label>Published:</label> <%=h (@article.published.zero? ? "No" : "Yes") %></p> |
16 | </div> |
17 | |
18 | <h3>Categories</h3> |
19 | <div class="form"> |
20 | <h4>Currently this article is listed in following categories:</h4> |
21 | <% for category in @article.categories %> |
22 | <%= link_to "- #{category.name}", :action => "category_remove", :id => @article.id, :category_id => category.id %><br/> |
23 | <% end %> |
24 | |
25 | <h4>You can add it to the following categories:</h4> |
26 | <% for category in @categories - @article.categories %> |
27 | <%= link_to "+ #{category.name}", :action => "category_add", :id => @article.id, :category_id => category.id %><br/> |
28 | <% end %> |
29 |