Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 387
- Log:
HTML tweak to include article links within the article body container
for style reasons. Goes with Changeset #386.
- Author:
- rool
- Date:
- Mon Mar 21 14:16:31 +0000 2011
- Size:
- 2691 Bytes
1 | <!-- |
2 | <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
3 | xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" |
4 | xmlns:dc="http://purl.org/dc/elements/1.1/"> |
5 | <rdf:Description |
6 | rdf:about="" |
7 | <% if @article.allow_pings? -%> |
8 | trackback:ping="<%= @article.trackback_url %>" |
9 | <% end -%> |
10 | dc:title="<%=h @article.title.gsub(/-+/, '-') %>" |
11 | dc:identifier="<%= @article.permalink_url %>" |
12 | dc:description="<%=h (html(@article).strip_html[0..255]).gsub(/-+/, '-') %>" |
13 | dc:creator="<%= h @article.author %>" |
14 | dc:date="<%= @article.updated_at.xmlschema %>" /> |
15 | </rdf:RDF> |
16 | --> |
17 | |
18 | <div class="post"<%= onhover_show_admin_tools(:article) %>> |
19 | <%= link_to("edit", { :controller => "admin/content", :action => "edit", :id => @article }, |
20 | :class => "admintools", :style => "display: none", :id => "admin_article") %> |
21 | <h2><%=h @article.title %></h2> |
22 | <p class="auth"><%= _("Posted by")%> <%= author_link(@article) %> |
23 | <%= js_distance_of_time_in_words_to_now @article.published_at.utc %></p> |
24 | <%= html(@article) %> |
25 | |
26 | <p class="meta"> |
27 | <%= article_links @article %> |
28 | </p> |
29 | </div> |
30 | |
31 | <% if @article.allow_comments? or @article.published_comments.size > 0 -%> |
32 | <a name="comments"></a><h4 class="blueblk">Comments</h4> |
33 | <% unless @article.comments_closed? -%> |
34 | <p class="postmetadata alt"> |
35 | <a href="<%= url_for(:controller => 'articles', :action => 'read_and_comment', :id => @article.id, :anchor => 'comments') %>">Comment on this article</a> |
36 | </p> |
37 | <% else -%> |
38 | <p><%= _("Comments are disabled")%></p> |
39 | <% end -%> |
40 | |
41 | <ol class="comment-list" id="commentList"> |
42 | <% if @article.published_comments.blank? %> |
43 | <li id="dummy_comment" style="display: none"></li> |
44 | <% else %> |
45 | <%= render(:partial => "comment", :collection => @article.published_comments) %> |
46 | <% end %> |
47 | </ol> |
48 | <% end -%> |
49 | |
50 | <% if @article.allow_pings? -%> |
51 | <a name="trackbacks"></a><h4 class="blueblk"><%= _("Trackbacks")%></h4> |
52 | <p> |
53 | <%= _("Use the following link to trackback from your own site")%>:<br/> |
54 | <span class="light-bg"><%= @article.trackback_url %></span> |
55 | </p> |
56 | <%= content_tag(:ol, |
57 | render(:partial => "trackback", :collection => @article.published_trackbacks), |
58 | :id => 'trackbackList', :class => 'trackback-list') unless @article.published_trackbacks.blank? %> |
59 | <% end -%> |
60 | |
61 | <p class="postmetadata alt"> |
62 | <small> |
63 | <a href="<%= url_for :controller => 'xml', :action=>'feed', :type=>'article', :format => 'rss20', :id => @article %>" title="RSS Feed"><%= _("RSS feed for this post")%></a> |
64 | <% if @article.allow_pings? -%> |
65 | <a href="<%= @article.trackback_url %>" ><%= _("trackback uri")%></a> |
66 | <% end -%> |
67 | </small> |
68 | </p> |