rails_email_preview 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2327030739ba9db8a54b1ebb9dbe8b9ec2a08d1
4
- data.tar.gz: 02f026c42ab14c959abd425df25333f4eda089ac
3
+ metadata.gz: c41664587bd742c38c9a7412789e50ee8dd25f9f
4
+ data.tar.gz: 9233b03db2d77565532671356eeedad7880bf367
5
5
  SHA512:
6
- metadata.gz: fa93f32d0dfaaaf849f237e528bbb639ad5c2061d857c991bc5a6e24dff04c18ec7efde75c052efeac910c4a400c16b6a72089c5f8596f597d0159fea93a1e5d
7
- data.tar.gz: 6292757e5522d27c7e8431849da37cd44747a8de074b3ca72dfc1d4863124b078e495a683d638ff8bba0f8387f8091f03e84adfcff5efbf409e9a179fb56c1df
6
+ metadata.gz: b5c7326e71cf687b6ee61bfd1471c1c2e231787b16cb881b946fee13d78c85c9eccbc2425a68916fc624efcde62206bd95f1aa8647ecf13263b2b58ce1d358f8
7
+ data.tar.gz: 279f405af4ede083776ed9fab92c534b73f790e7db0559c128a87b61fc69c982a6af39415771710ce7301e4900683450b819c761dc29bab6414ae23a1623ac30
@@ -14,5 +14,7 @@ javascript:
14
14
  $('[name="snippet[label]"]').closest('.control-group').find('.control-label').text("Subject");
15
15
  // Content to Body
16
16
  $('[name="snippet[content]"]').closest('.control-group').find('.control-label').text("Body");
17
+ // Do not mess with identifier
18
+ $('[data-slug]').removeAttr('data-slug');
17
19
  }
18
20
  });
@@ -67,7 +67,7 @@ module RailsEmailPreview
67
67
  })
68
68
  end
69
69
 
70
- result += cms_edit_email_snippet_link(cms_path)
70
+ result += "\n\n" + cms_edit_email_snippet_link(cms_path)
71
71
  end
72
72
  result
73
73
  end
@@ -1,3 +1,3 @@
1
1
  module RailsEmailPreview
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_email_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-10 00:00:00.000000000 Z
11
+ date: 2013-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport