beef-articles 0.4.15 → 0.4.16
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/articles/index.html.erb +4 -4
- data/app/views/admin/articles/show.html.erb +1 -1
- data/beef-articles.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.16
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<tbody>
|
26
26
|
<% @articles.each do |article| %>
|
27
27
|
<tr id="article-<%= article.id %>">
|
28
|
-
<td><%= link_to h( article.title ),
|
28
|
+
<td><%= link_to h( article.title ), [:admin, article], :title => 'Edit this article' %></td>
|
29
29
|
<td><%= content_status(article) %></td>
|
30
30
|
<% if Category.all.any? -%>
|
31
31
|
<td><%=h article.category.title unless article.category.nil? %></td>
|
@@ -37,9 +37,9 @@
|
|
37
37
|
<td><%= article.published_at.to_formatted_s(:short) unless article.published_at.nil? %></td>
|
38
38
|
<td><%= article.published_to.to_formatted_s(:short) unless article.published_to.nil? %></td>
|
39
39
|
<td><%= link_to pluralize(article.comments.count, 'Comment'), admin_article_comments_path(article), :title => 'Click to view any comments' %></td>
|
40
|
-
<td><%= link_to 'Show',
|
41
|
-
<td><%= link_to 'Edit',
|
42
|
-
<td><%= link_to 'Delete',
|
40
|
+
<td><%= link_to 'Show', article, :class => 'show', :title => 'View this article' if article.published? %></td>
|
41
|
+
<td><%= link_to 'Edit', [:admin, article], :class => 'edit', :title => 'Edit this article' %></td>
|
42
|
+
<td><%= link_to 'Delete', [:admin, article], :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this article' %></td>
|
43
43
|
</tr>
|
44
44
|
<% end %>
|
45
45
|
</tbody>
|
data/beef-articles.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{beef-articles}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.16"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Steve England"]
|
12
|
-
s.date = %q{2010-06-
|
12
|
+
s.date = %q{2010-06-24}
|
13
13
|
s.email = %q{steve@wearebeef.co.uk}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 16
|
9
|
+
version: 0.4.16
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Steve England
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-24 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|