diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/layouts/admin.html.erb | 7 | ||||
| -rw-r--r-- | app/views/rss/updates.xml.builder | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 340eaf2..79b1380 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb | |||
| @@ -33,6 +33,13 @@ | |||
| 33 | <% if flash[:notice].present? || flash[:error].present? %> | 33 | <% if flash[:notice].present? || flash[:error].present? %> |
| 34 | <div id="flash"> | 34 | <div id="flash"> |
| 35 | <%= flash[:notice] %> | 35 | <%= flash[:notice] %> |
| 36 | <% if flash[:status_path] %> | ||
| 37 | <%= link_to 'Go to Status', flash[:status_path] %> | ||
| 38 | <% end %> | ||
| 39 | <% if flash[:stale_locale_path] %> | ||
| 40 | The <%= flash[:stale_locale] %> translation may be out of date — | ||
| 41 | <%= link_to 'review it', flash[:stale_locale_path] %> too. | ||
| 42 | <% end %> | ||
| 36 | <% if flash[:error] %> | 43 | <% if flash[:error] %> |
| 37 | <span id="flash_error"><%= flash[:error] %></span> | 44 | <span id="flash_error"><%= flash[:error] %></span> |
| 38 | <% end %> | 45 | <% end %> |
diff --git a/app/views/rss/updates.xml.builder b/app/views/rss/updates.xml.builder index 4b2e2f7..27845c4 100644 --- a/app/views/rss/updates.xml.builder +++ b/app/views/rss/updates.xml.builder | |||
| @@ -22,9 +22,7 @@ xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do | |||
| 22 | xml.updated(item.updated_at.xmlschema) | 22 | xml.updated(item.updated_at.xmlschema) |
| 23 | xml.published(item.published_at.xmlschema) | 23 | xml.published(item.published_at.xmlschema) |
| 24 | xml.summary(CGI.escapeHTML(item.abstract.to_s)) | 24 | xml.summary(CGI.escapeHTML(item.abstract.to_s)) |
| 25 | xml.content(:type => "xhtml") do | 25 | xml.content(CGI.escapeHTML(item.body.to_s), :type => "html") |
| 26 | xml.div(item.body, :xmlns => "http://www.w3.org/1999/xhtml") | ||
| 27 | end | ||
| 28 | end | 26 | end |
| 29 | 27 | ||
| 30 | end | 28 | end |
