editorial_logic 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.4
|
@@ -2,19 +2,19 @@
|
|
2
2
|
<%= legend_tag 'About This FAQ' -%>
|
3
3
|
<div class="form_column">
|
4
4
|
<%= f.text_field :headline, :label => 'Question' -%>
|
5
|
+
<%= f.text_field :headline_short, :label => 'Shortened Headline/Question' -%>
|
5
6
|
<%= f.text_field :desired_slug, :value => @managed_content.slug, :help => "The slug is the portion of the URL that refers directly to this article. The full URL will consist of the slug for the managed content section plus what you enter below, e.g. /#{@publication.slug}/#{@managed_content.slug || 'foo'}/" -%>
|
6
|
-
<%= f.select :state, ManagedContent::STATES.map{|s| s
|
7
|
+
<%= f.select :state, ManagedContent::STATES.map{|s| s} -%>
|
7
8
|
</div>
|
8
9
|
<div class="form_column">
|
9
|
-
<%= f.text_field :summary -%>
|
10
|
-
<%= f.text_field :keywords -%>
|
11
|
-
<%= f.text_field :breadcrumbs -%>
|
12
|
-
<%= f.text_field :subheader, :label => 'Header' -%>
|
10
|
+
<%= f.text_field :summary, :label => 'Meta Description' -%>
|
11
|
+
<%= f.text_field :keywords, :label => 'Meta Keywords' -%>
|
12
|
+
<%= f.text_field :breadcrumbs, :label => 'Breadcrumbs Link Text' -%>
|
13
13
|
</div>
|
14
14
|
<br style="clear: both;" />
|
15
|
-
<%= f.label 'Answer', :for => :content
|
15
|
+
<%= f.label 'Answer', :for => :content -%>
|
16
16
|
<%= f.cktext_area :content, :toolbar => 'Basic', :width => '900px' -%>
|
17
17
|
<br style="clear: both;" />
|
18
|
-
<%= f.label 'References', :for => :references
|
18
|
+
<%= f.label 'References', :for => :references -%>
|
19
19
|
<%= f.cktext_area :references, :toolbar => 'Basic', :width => '900px' -%>
|
20
20
|
</fieldset>
|
@@ -43,27 +43,25 @@
|
|
43
43
|
<%- if @managed_content.has_sections? -%>
|
44
44
|
<%= link_to 'Add a Section', new_admin_publication_managed_content_section_path(@publication, @managed_content), :class => 'button' -%>
|
45
45
|
<%- end -%>
|
46
|
-
|
47
46
|
<%- elsif @publication.has_faqs? -%>
|
48
|
-
|
49
47
|
<%- set_title 'FAQ Details' -%>
|
50
48
|
|
51
49
|
<fieldset class="form_container">
|
52
50
|
<%= legend_tag 'About This FAQ' -%>
|
53
51
|
<div class="form_column">
|
54
52
|
<%= faux_field 'Question', @managed_content.headline %>
|
55
|
-
<%= faux_field '
|
56
|
-
</div>
|
57
|
-
<div class="form_column">
|
53
|
+
<%= faux_field 'Shortened Headline/Question', @managed_content.headline_short -%>
|
58
54
|
<%= faux_field 'Slug', @managed_content.slug %>
|
59
55
|
<%= faux_field 'Status', @managed_content.state.capitalize %>
|
60
|
-
<%= faux_field 'Desscription', @managed_content.summary -%>
|
61
|
-
<%= faux_field 'Keywords', @managed_content.keywords -%>
|
62
|
-
<%= faux_field 'Breadcrumbs', @managed_content.breadcrumbs -%>
|
63
|
-
<%# faux_field 'Title', @managed_content.title -%>
|
64
|
-
<%= faux_field 'Short Headline', @managed_content.headline_short -%>
|
65
56
|
</div>
|
66
|
-
|
57
|
+
<div class="form_column">
|
58
|
+
<%= faux_field 'Meta Description', @managed_content.summary -%>
|
59
|
+
<%= faux_field 'Meta Keywords', @managed_content.keywords -%>
|
60
|
+
<%= faux_field 'Breadcrumbs Link Text', @managed_content.breadcrumbs -%>
|
61
|
+
</div>
|
62
|
+
<br style="clear: both;" />
|
63
|
+
<%= faux_field 'Answer', @managed_content.answer %>
|
64
|
+
</fieldset>
|
67
65
|
<%- unless @managed_content.references.blank? -%>
|
68
66
|
<fieldset class="form_container">
|
69
67
|
<%= legend_tag 'References' -%>
|
data/editorial_logic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{editorial_logic}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bantik"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-16}
|
13
13
|
s.description = %q{An engine for enabling managed content, including articles, blogs, FAQs and glossaries.}
|
14
14
|
s.email = %q{corey@seologic.com}
|
15
15
|
s.files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: editorial_logic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 4
|
10
|
+
version: 1.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bantik
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-08-16 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: bson_ext
|
@@ -967,7 +966,6 @@ files:
|
|
967
966
|
- spec/spec_helper.rb
|
968
967
|
- spec/support/be_valid_asset.rb
|
969
968
|
- tasks/editorial_logic.rake
|
970
|
-
has_rdoc: true
|
971
969
|
homepage: http://github.com/ivanoblomov/editorial_logic
|
972
970
|
licenses: []
|
973
971
|
|
@@ -997,7 +995,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
997
995
|
requirements: []
|
998
996
|
|
999
997
|
rubyforge_project:
|
1000
|
-
rubygems_version: 1.
|
998
|
+
rubygems_version: 1.8.5
|
1001
999
|
signing_key:
|
1002
1000
|
specification_version: 3
|
1003
1001
|
summary: An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries.
|