app/views/admin/articles/index.html.erb in beef-articles-0.4.10 vs app/views/admin/articles/index.html.erb in beef-articles-0.4.11
- old
+ new
@@ -1,9 +1,9 @@
<h1>Listing Articles</h1>
<ul class="choices">
- <li><%= link_to 'New article', new_admin_article_path %></li>
+ <li><%= link_to 'New article', new_admin_article_path, :title => 'Create a new article' %></li>
</ul>
<%= will_paginate %>
<table>
@@ -22,18 +22,18 @@
</tr>
</thead>
<tbody>
<% @articles.each do |article| %>
<tr id="article-<%= article.id %>">
- <td><%= link_to h( article.title ), admin_article_path(article) %></td>
+ <td><%= link_to h( article.title ), admin_article_path(article), :title => 'Edit this article' %></td>
<td><%= content_status(article) %></td>
<td><%= article.author %></td>
<td><%= article.editor %></td>
<td><%= article.updated_at.to_formatted_s(:short) %></td>
<td><%= article.created_at.to_formatted_s(:short) %></td>
<td><%= article.published_at.to_formatted_s(:short) unless article.published_at.nil? %></td>
<td><%= article.published_to.to_formatted_s(:short) unless article.published_to.nil? %></td>
- <td><%= link_to pluralize(article.comments.count, 'Comment'), admin_article_comments_path(article), :title => 'CLick to view any comments' %></td>
+ <td><%= link_to pluralize(article.comments.count, 'Comment'), admin_article_comments_path(article), :title => 'Click to view any comments' %></td>
<td><%= link_to 'Show', article_url(article), :class => 'show', :title => 'View this article' if article.published? %></td>
<td><%= link_to 'Edit', admin_article_path(article), :class => 'edit', :title => 'Edit this article' %></td>
<td><%= link_to 'Delete', admin_article_path(article), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this article' %></td>
</tr>
<% end %>