radiant-find_replace-extension 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,16 @@
24
24
  - if slug_matches
25
25
  %span{:title => "This page has a match in it's slug. Consequently, replacing this match will change the URL of this page and all its children!", :style => "color: red; font-weight: bold"} !
26
26
  %td
27
- = image_tag 'admin/page.png', :class => "icon", :title => 'Page'
28
- = link_to page.path, edit_admin_page_path(page)
27
+ - if page.class_name == "StylesheetPage"
28
+ = image_tag 'admin/stylesheet.png', :class => "icon", :title => 'StylesheetPage'
29
+ = link_to page.path, edit_admin_style_path(page)
30
+ - elsif page.class_name == "JavascriptPage"
31
+ = image_tag 'admin/javascript.png', :class => "icon", :title => 'JavascriptPage'
32
+ = link_to page.path, edit_admin_script_path(page)
33
+ - else
34
+ = image_tag 'admin/page.png', :class => "icon", :title => 'Page'
35
+ = link_to page.path, edit_admin_page_path(page)
36
+
29
37
  - @snippet_results.each do |snippet|
30
38
  %tr
31
39
  %td
@@ -1,5 +1,5 @@
1
1
  module RadiantFindReplaceExtension
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  SUMMARY = "Find Replace for Radiant CMS"
4
4
  DESCRIPTION = "Adds backend search and replace functionality to Radiant CMS!"
5
5
  URL = "https://github.com/jomz/radiant-find_replace-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-find_replace-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-27 00:00:00.000000000 Z
12
+ date: 2016-06-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Adds backend search and replace functionality to Radiant CMS!
15
15
  email:
@@ -30,6 +30,7 @@ files:
30
30
  - lib/radiant-find_replace-extension.rb
31
31
  - lib/tasks/find_replace_extension_tasks.rake
32
32
  - radiant-find_replace-extension-1.0.0.gem
33
+ - radiant-find_replace-extension-1.0.1.gem
33
34
  - radiant-find_replace-extension.gemspec
34
35
  - Rakefile
35
36
  - README.md