publify_core 10.0.1 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -1
  3. data/app/assets/javascripts/markup_help_popup.js +25 -0
  4. data/app/assets/javascripts/optional_field_toggle.js +7 -0
  5. data/app/assets/javascripts/preview_comment.js +10 -0
  6. data/app/assets/javascripts/publify.js +3 -0
  7. data/app/assets/javascripts/publify_admin.js +1 -25
  8. data/app/assets/javascripts/spinnable.js +7 -2
  9. data/app/assets/stylesheets/administration_structure.css.scss +1 -1
  10. data/app/assets/stylesheets/publify.css.scss +43 -0
  11. data/app/assets/stylesheets/publify_admin.css.scss +0 -1
  12. data/app/controllers/admin/articles_controller.rb +3 -3
  13. data/app/controllers/admin/dashboard_controller.rb +0 -4
  14. data/app/controllers/admin/themes_controller.rb +1 -9
  15. data/app/controllers/articles_controller.rb +3 -1
  16. data/app/controllers/comments_controller.rb +1 -1
  17. data/app/helpers/admin/feedback_helper.rb +1 -1
  18. data/app/helpers/base_helper.rb +20 -12
  19. data/app/models/archives_sidebar.rb +1 -1
  20. data/app/models/content.rb +8 -3
  21. data/app/models/redirect.rb +2 -2
  22. data/app/models/tag_sidebar.rb +25 -3
  23. data/app/models/text_filter.rb +1 -1
  24. data/app/uploaders/resource_uploader.rb +1 -1
  25. data/app/views/admin/articles/_form.html.erb +2 -2
  26. data/app/views/admin/articles/index.html.erb +4 -5
  27. data/app/views/admin/dashboard/_comment.html.erb +1 -1
  28. data/app/views/admin/dashboard/_drafts.html.erb +1 -1
  29. data/app/views/admin/feedback/_ham.html.erb +1 -1
  30. data/app/views/admin/feedback/article.html.erb +1 -1
  31. data/app/views/admin/feedback/edit.html.erb +1 -1
  32. data/app/views/admin/feedback/index.html.erb +2 -2
  33. data/app/views/admin/migrations/show.html.erb +1 -1
  34. data/app/views/admin/notes/_form.html.erb +2 -3
  35. data/app/views/admin/notes/_note.html.erb +2 -2
  36. data/app/views/admin/notes/edit.html.erb +0 -1
  37. data/app/views/admin/pages/_pages.html.erb +1 -1
  38. data/app/views/admin/post_types/_index_and_form.html.erb +2 -2
  39. data/app/views/admin/redirects/_index_and_form.html.erb +2 -2
  40. data/app/views/admin/seo/show.html.erb +1 -1
  41. data/app/views/admin/settings/display.html.erb +1 -1
  42. data/app/views/admin/settings/feedback.html.erb +1 -1
  43. data/app/views/admin/settings/index.html.erb +1 -1
  44. data/app/views/admin/settings/write.html.erb +1 -1
  45. data/app/views/admin/tags/_index_and_form.html.erb +1 -1
  46. data/app/views/admin/users/_form.html.erb +1 -1
  47. data/app/views/articles/_comment_form.html.erb +9 -7
  48. data/app/views/articles/_comment_preview.html.erb +1 -1
  49. data/app/views/articles/_trackback.html.erb +3 -3
  50. data/app/views/articles/comment_failed.js.erb +1 -1
  51. data/app/views/articles/read.html.erb +4 -2
  52. data/app/views/comments/_comment.html.erb +1 -1
  53. data/app/views/comments/preview.js.erb +1 -1
  54. data/app/views/devise/passwords/edit.html.erb +3 -3
  55. data/app/views/devise/passwords/new.html.erb +1 -1
  56. data/app/views/devise/registrations/new.html.erb +2 -2
  57. data/app/views/devise/sessions/new.html.erb +2 -2
  58. data/app/views/devise/shared/_links.html.erb +3 -3
  59. data/app/views/layouts/accounts.html.erb +3 -3
  60. data/app/views/layouts/administration.html.erb +4 -6
  61. data/app/views/layouts/default.html.erb +1 -1
  62. data/app/views/layouts/editor.html.erb +3 -3
  63. data/app/views/notes/index.html.erb +1 -1
  64. data/app/views/notification_mailer/comment.html.erb +1 -1
  65. data/app/views/search_sidebar/_content.html.erb +2 -3
  66. data/app/views/settings/install.html.erb +2 -2
  67. data/app/views/shared/_page_header.html.erb +5 -5
  68. data/app/views/tag_sidebar/_content.html.erb +2 -2
  69. data/config/locales/ar.yml +0 -1
  70. data/config/locales/da.yml +0 -1
  71. data/config/locales/de.yml +0 -1
  72. data/config/locales/en.yml +0 -1
  73. data/config/locales/es-MX.yml +0 -1
  74. data/config/locales/fr.yml +0 -1
  75. data/config/locales/he.yml +0 -1
  76. data/config/locales/it.yml +0 -1
  77. data/config/locales/ja.yml +0 -1
  78. data/config/locales/lt.yml +0 -1
  79. data/config/locales/nb.yml +0 -1
  80. data/config/locales/nl.yml +0 -1
  81. data/config/locales/pl.yml +0 -1
  82. data/config/locales/pt-BR.yml +0 -1
  83. data/config/locales/ro.yml +0 -1
  84. data/config/locales/ru.yml +0 -1
  85. data/config/locales/zh-CN.yml +0 -1
  86. data/config/locales/zh-TW.yml +0 -1
  87. data/lib/publify_core/testing_support/feed_assertions.rb +1 -4
  88. data/lib/publify_core/version.rb +1 -1
  89. data/lib/theme.rb +18 -7
  90. metadata +30 -15
  91. data/app/assets/javascripts/datetimepicker.js +0 -1470
  92. data/app/assets/stylesheets/datetimepicker.css +0 -306
@@ -4,7 +4,6 @@
4
4
  </h2>
5
5
  <% end %>
6
6
 
7
-
8
7
  <div class='row'>
9
8
  <div class='col-md-4'>
10
9
  <%= form_for @note, url: admin_note_path(@note) do |n| %>
@@ -12,7 +12,7 @@
12
12
  <%= link_to_permalink(page, page.title) %>
13
13
  </td>
14
14
  <td>
15
- <%= author_link(page) %><br />
15
+ <%= author_link(page) %><br>
16
16
  </td>
17
17
  <td>
18
18
  <%= l(page.created_at) %>
@@ -23,7 +23,7 @@
23
23
  <%= f.text_area :description, rows: 5, class: 'form-control', placeholder: 'Description' %>
24
24
  </div>
25
25
  <div class="form-group">
26
- <hr />
26
+ <hr>
27
27
  <%= link_to(t('.cancel'), action: 'index') %>
28
28
  <%= t('.or') %>
29
29
  <%= f.submit t('.save'), class: 'btn btn-success' %>
@@ -48,7 +48,7 @@
48
48
  <% @post_types.each do |post_type| %>
49
49
  <tr>
50
50
  <td>
51
- <%= post_type.name %><br />
51
+ <%= post_type.name %><br>
52
52
  <div class='action'>
53
53
  <%= button_to_edit post_type %>
54
54
  <%= button_to_delete post_type %>
@@ -26,7 +26,7 @@
26
26
  <%= f.text_field :to_path, class: 'form-control', placeholder: 'To' %>
27
27
  </div>
28
28
  <div class="form-group">
29
- <hr />
29
+ <hr>
30
30
  <%= link_to(t('.cancel'), action: 'index') %>
31
31
  <%= t('.or') %>
32
32
  <%= f.submit t('.save'), class: 'btn btn-success' %>
@@ -58,7 +58,7 @@
58
58
  <%= button_to_delete redirect %>
59
59
  </div>
60
60
  </td>
61
- <td><%= link_to(redirect.to_path, redirect.to_path) %></td>
61
+ <td><%= link_to(redirect.to_path, redirect.full_to_path) %></td>
62
62
  </tr>
63
63
  <% end %>
64
64
  <%= display_pagination(@redirects, 2) %>
@@ -30,7 +30,7 @@
30
30
 
31
31
  <%= hidden_field_tag 'section', @section %>
32
32
  <div class='form-group'>
33
- <hr />
33
+ <hr>
34
34
  <%= link_to(t('.cancel'), admin_seo_path(section: @section)) %>
35
35
  <%= t('.or') %>
36
36
  <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
@@ -92,7 +92,7 @@
92
92
  </fieldset>
93
93
  <%= hidden_field_tag 'from', 'display' %>
94
94
  <div class='form-group'>
95
- <hr />
95
+ <hr>
96
96
  <%= link_to(t('.cancel'), action: 'index') %>
97
97
  <%= t('.or') %>
98
98
  <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
@@ -109,7 +109,7 @@
109
109
 
110
110
  <%= hidden_field_tag 'from', 'feedback' %>
111
111
  <div class='form-group'>
112
- <hr />
112
+ <hr>
113
113
  <%= link_to(t('.cancel'), action: 'index') %>
114
114
  <%= t('.or') %>
115
115
  <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
@@ -64,7 +64,7 @@
64
64
 
65
65
  <%= hidden_field_tag 'from', 'index' %>
66
66
  <div class='form-group'>
67
- <hr />
67
+ <hr>
68
68
  <%= link_to(t('.cancel'), action: 'index') %>
69
69
  <%= t('.or') %>
70
70
  <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
@@ -60,7 +60,7 @@
60
60
 
61
61
  <%= hidden_field_tag 'from', 'write' %>
62
62
  <div class='form-group'>
63
- <hr />
63
+ <hr>
64
64
  <%= link_to(t('.cancel'), action: 'index') %>
65
65
  <%= t('.or') %>
66
66
  <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
@@ -19,7 +19,7 @@
19
19
  <%= f.text_field :display_name, class: 'form-control', placeholder: 'Name' %>
20
20
  </div>
21
21
  <div class="form-group">
22
- <hr />
22
+ <hr>
23
23
  <%= link_to(t('.cancel'), action: 'index') %>
24
24
  <%= t('.or') %>
25
25
  <%= f.submit t('.save'), class: 'btn btn-success' %>
@@ -208,7 +208,7 @@
208
208
  <% end %>
209
209
 
210
210
  <div class='form-actions'>
211
- <hr />
211
+ <hr>
212
212
  <%= link_to(t('.cancel'), action: 'index') %>
213
213
  <%= t('.or') %>
214
214
  <%= submit_tag(t('.save'), class: 'btn btn-success') %>
@@ -1,7 +1,7 @@
1
1
  <%= form_tag @article.comment_url, id: 'comment_form', remote: true do %>
2
2
  <div class="comment-box">
3
- <div id="errors" style="display: none"></div>
4
- <div id="preview" style="display: none"></div>
3
+ <div id="errors" class="hidden"></div>
4
+ <div id="preview" class="hidden"></div>
5
5
 
6
6
  <a name="respond"></a>
7
7
  <table cellpadding="4" cellspacing="0" class="frm-tbl">
@@ -10,17 +10,17 @@
10
10
  <td>
11
11
  <%= text_field 'comment', 'author', size: 20 %>
12
12
  <small>
13
- <%= link_to '#', onclick: "$('.optional_field').fadeToggle();return false" do %>
13
+ <%= link_to '#', class: "optional-field-toggle" do %>
14
14
  (<%= t('.leave_url_email') %> &#187;)
15
15
  <% end %>
16
16
  </small>
17
17
  </td>
18
18
  </tr>
19
- <tr class="optional_field" style="display: none">
19
+ <tr class="optional_field">
20
20
  <td><p><label for="comment_url"><%= t('.your_blog') %></label></p></td>
21
21
  <td> <%= text_field 'comment', 'url' %></td>
22
22
  </tr>
23
- <tr class="optional_field" style="display: none">
23
+ <tr class="optional_field">
24
24
  <td><p><label for="comment_email"><%= t('.your_email') %></label></p></td>
25
25
  <td> <%= text_field 'comment', 'email' %></td>
26
26
  </tr>
@@ -39,8 +39,10 @@
39
39
  <tr>
40
40
  <td colspan="2" id="frm-btns">
41
41
  <%= markup_help_popup TextFilter.make_filter(this_blog.comment_text_filter), t('.comment_markup_help') %>
42
- <a href="#" onclick="$.post('<%= @article.preview_comment_url %>', $('#comment_form').serialize());return false"><%= t('.preview_comment') %></a>
43
- <input type="submit" name="submit" id="form-submit-button" value="submit" class="button" />
42
+ <%= link_to "#", data: { preview_url: @article.preview_comment_url, target_form: "#comment_form" }, class: "preview-comment-link" do %>
43
+ <%= t('.preview_comment') %>
44
+ <% end %>
45
+ <input type="submit" name="submit" id="form-submit-button" value="submit" class="button">
44
46
  </td>
45
47
  </tr>
46
48
  </table>
@@ -1,4 +1,4 @@
1
1
  <%= avatar_tag(email: comment.email, url: comment.url) %>
2
2
  <cite><strong><%= h comment[:author] %></strong></cite>
3
- <%= t('.is_about_to_say') %>:<br />
3
+ <%= t('.is_about_to_say') %>:<br>
4
4
  <%= comment.html %>
@@ -1,6 +1,6 @@
1
- <li id="trackback-<%= trackback.id %>"<%= onhover_show_admin_tools(:trackback, trackback.id) %>>
1
+ <li id="trackback-<%= trackback.id %>">
2
2
  <a name="trackback-<%= trackback.id %>"></a>
3
- <%= t('.from') %> <strong><%= trackback.blog_name %></strong><br />
4
- <a href="<%= trackback.url %>" rel="nofollow"><%= h trackback.title %></a><br />
3
+ <%= t('.from') %> <strong><%= trackback.blog_name %></strong><br>
4
+ <a href="<%= trackback.url %>" rel="nofollow"><%= h trackback.title %></a><br>
5
5
  <%= trackback.excerpt %>
6
6
  </li>
@@ -1,3 +1,3 @@
1
1
  var message = "<%= j render 'articles/comment_errors', comment: @comment %>";
2
2
  $('#preview').hide();
3
- $('#errors').hide().html(message).fadeIn();
3
+ $('#errors').hide().removeClass("hidden").html(message).fadeIn();
@@ -1,5 +1,7 @@
1
- <div class="post"<%= onhover_show_admin_tools(:article) %>>
2
- <%= link_to(t('.edit'), { controller: 'admin/articles', action: 'edit', id: @article.id }, { class: 'admintools', style: 'display: none', id: 'admin_article' }) %>
1
+ <div class="post admin-tools-reveal">
2
+ <% if current_user&.profile == "admin" %>
3
+ <%= link_to(t('.edit'), edit_admin_article_path(@article.id), class: 'admintools', id: 'admin_article') %>
4
+ <% end %>
3
5
  <% cache @article do %>
4
6
  <h2><%= link_to_permalink @article, @article.title %></h2>
5
7
  <%= render 'articles/article_author', article: @article %>
@@ -1,5 +1,5 @@
1
1
  <% cache comment do %>
2
- <li id="comment-<%= comment.id %>" <%= 'class="author_comment"' if comment.user %> <%= onhover_show_admin_tools(:comment, comment.id) %>>
2
+ <li id="comment-<%= comment.id %>" <%= 'class="author_comment"' if comment.user %>>
3
3
  <p class="author">
4
4
  <%= avatar_tag(email: comment.email, url: comment.url) %>
5
5
  <cite><strong><%= link_to_unless(comment.url.blank?, h(comment.author), comment.url) %></strong></cite>
@@ -1,3 +1,3 @@
1
1
  var preview = "<%= j render 'articles/comment_preview', comment: @comment %>";
2
2
  $('#errors').hide();
3
- $('#preview').hide().html(preview).fadeIn();
3
+ $('#preview').hide().removeClass("hidden").html(preview).fadeIn();
@@ -8,15 +8,15 @@
8
8
  <%= f.hidden_field :reset_password_token %>
9
9
 
10
10
  <div class="form-group">
11
- <%= f.label :password, t('.new_password') %><br />
11
+ <%= f.label :password, t('.new_password') %><br>
12
12
  <% if @minimum_password_length %>
13
- <em>(<%= t('devise_custom.characters_minimum', min: @minimum_password_length) %>)</em><br />
13
+ <em>(<%= t('devise_custom.characters_minimum', min: @minimum_password_length) %>)</em><br>
14
14
  <% end %>
15
15
  <%= f.password_field :password, class: 'form-control', autofocus: true, autocomplete: 'off' %>
16
16
  </div>
17
17
 
18
18
  <div class="form-group">
19
- <%= f.label :password_confirmation, t('.confirm_new_password') %><br />
19
+ <%= f.label :password_confirmation, t('.confirm_new_password') %><br>
20
20
  <%= f.password_field :password_confirmation, class: 'form-control', autocomplete: 'off' %>
21
21
  </div>
22
22
 
@@ -7,7 +7,7 @@
7
7
  <fieldset>
8
8
 
9
9
  <div class='form-group'>
10
- <%= f.label :email %><br />
10
+ <%= f.label :email %><br>
11
11
  <%= f.email_field :email, class: 'form-control' %>
12
12
  </div>
13
13
 
@@ -18,13 +18,13 @@
18
18
  <div class="form-group">
19
19
  <%= f.label :password %>
20
20
  <% if @minimum_password_length %>
21
- <em>(<%= t('devise_custom.characters_minimum', min: @minimum_password_length) %>)</em><br />
21
+ <em>(<%= t('devise_custom.characters_minimum', min: @minimum_password_length) %>)</em><br>
22
22
  <% end %>
23
23
  <%= f.password_field :password, class: 'form-control', autofocus: true, autocomplete: 'off' %>
24
24
  </div>
25
25
 
26
26
  <div class="form-group">
27
- <%= f.label :password_confirmation %><br />
27
+ <%= f.label :password_confirmation %><br>
28
28
  <%= f.password_field :password_confirmation, class: 'form-control', autocomplete: 'off' %>
29
29
  </div>
30
30
 
@@ -5,12 +5,12 @@
5
5
  <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
6
6
  <fieldset>
7
7
  <div class="form-group">
8
- <%= f.label :login %><br />
8
+ <%= f.label :login %><br>
9
9
  <%= f.text_field :login, class: 'form-control', autofocus: true %>
10
10
  </div>
11
11
 
12
12
  <div class="form-group">
13
- <%= f.label :password %><br />
13
+ <%= f.label :password %><br>
14
14
  <%= f.password_field :password, class: 'form-control', autocomplete: 'off' %>
15
15
  </div>
16
16
 
@@ -1,14 +1,14 @@
1
1
  <small>
2
2
  <%- if controller_name != 'sessions' %>
3
- <%= link_to t('accounts.back_to_login'), new_session_path(resource_name) %><br />
3
+ <%= link_to t('accounts.back_to_login'), new_session_path(resource_name) %><br>
4
4
  <% end -%>
5
5
 
6
6
  <%- if controller_name != 'registrations' && this_blog.allow_signup? %>
7
- <%= link_to t('accounts.create_account'), new_registration_path(resource_name) %><br />
7
+ <%= link_to t('accounts.create_account'), new_registration_path(resource_name) %><br>
8
8
  <% end -%>
9
9
 
10
10
  <%- if controller_name != 'passwords' && controller_name != 'registrations' %>
11
- <%= link_to t('accounts.lost_my_password'), new_password_path(resource_name) %><br />
11
+ <%= link_to t('accounts.lost_my_password'), new_password_path(resource_name) %><br>
12
12
  <% end -%>
13
13
 
14
14
  <%= link_to(t('accounts.back_to_html', place: this_blog.blog_name), this_blog.base_url) %>
@@ -1,12 +1,12 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  <%= yield :page_title %>
8
8
  </title>
9
- <meta http-equiv="imagetoolbar" content="no" />
9
+ <meta http-equiv="imagetoolbar" content="no">
10
10
  <%= javascript_include_tag 'publify_admin', async: Rails.env.production? %>
11
11
  <%= stylesheet_link_tag 'accounts' %>
12
12
  </head>
@@ -1,10 +1,10 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
5
  <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <meta http-equiv="imagetoolbar" content="no" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta http-equiv="imagetoolbar" content="no">
8
8
  <%= javascript_include_tag 'publify_admin', async: Rails.env.production? %>
9
9
  <%= stylesheet_link_tag 'publify_admin' %>
10
10
  <%= csrf_meta_tags %>
@@ -12,9 +12,7 @@
12
12
  <body>
13
13
  <%= render 'admin/shared/menu' %>
14
14
  <div class='container-fluid'>
15
- <div style='margin-top:20px'>
16
- <%= render 'shared/flash', flash: flash %>
17
- </div>
15
+ <%= render 'shared/flash', flash: flash %>
18
16
  <% if content_for?(:page_heading) %>
19
17
  <div class='page-header'>
20
18
  <%= yield :page_heading %>
@@ -4,7 +4,7 @@
4
4
  <%= render 'shared/page_header' %>
5
5
  <%= themeable_stylesheet_link_tag :theme %>
6
6
  <%= themeable_javascript_include_tag :theme %>
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
  <title><%= h page_title %></title>
9
9
  </head>
10
10
 
@@ -1,10 +1,10 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
5
  <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <meta http-equiv="imagetoolbar" content="no" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta http-equiv="imagetoolbar" content="no">
8
8
  <%= javascript_include_tag 'publify_admin', async: Rails.env.production? %>
9
9
  <%= stylesheet_link_tag 'publify_admin' %>
10
10
  <%= csrf_meta_tags %>
@@ -7,7 +7,7 @@
7
7
  <small><%= link_to_permalink(note, display_date_and_time(note.published_at)) %></small>
8
8
  </footer>
9
9
  </article>
10
- <hr />
10
+ <hr>
11
11
  </div>
12
12
  <% end %>
13
13
  </div>
@@ -6,7 +6,7 @@
6
6
  <h2><%= h @comment.title %></h2>
7
7
  <cite><strong><%= @comment.url.blank? ? h(@comment.author) : link_to(h(@comment.author), @comment.url) %></strong> </cite>
8
8
  <%= link_to('said', @comment.permalink_url) %>
9
- <%= display_date_and_time @comment.created_at %> <br />
9
+ <%= display_date_and_time @comment.created_at %> <br>
10
10
  <%= html @comment %>
11
11
  <% end %>
12
12
  <%= render 'mail_footer' %>
@@ -3,8 +3,7 @@
3
3
  </h3>
4
4
  <div class="sidebar-body">
5
5
  <%= form_tag({ controller: 'articles', action: 'search' }, { method: 'get', id: 'sform' }) do %>
6
- <input type="text" id="q" name="q" value="" size="15" />
7
- <input type="submit" value="<%= t('.search') %>" />
6
+ <input type="text" id="q" name="q" value="" size="15" autocomplete="off">
7
+ <input type="submit" value="<%= t('.search') %>">
8
8
  <% end %>
9
9
  </div>
10
- <br style="clear: right" />
@@ -3,8 +3,8 @@
3
3
 
4
4
  <% for field in @fields %>
5
5
 
6
- <%= field.desc %><br />
7
- <%= settings_field field %><br />
6
+ <%= field.desc %><br>
7
+ <%= settings_field field %><br>
8
8
  <% end %>
9
9
 
10
10
  <%= submit_tag %>
@@ -1,21 +1,21 @@
1
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
1
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
2
2
  <%= meta_tag 'ICBM', this_blog.geourl_location if this_blog.geourl_location.present? %>
3
3
  <%= meta_tag 'description', @description if @description.present? %>
4
4
  <%= meta_tag 'robots', 'noindex, follow' if stop_index_robots?(this_blog) %>
5
5
  <%= meta_tag 'google-site-verification', this_blog.google_verification if this_blog.google_verification.present? %>
6
- <meta name="generator" content="Publify <%= PublifyCore::VERSION %>" />
6
+ <meta name="generator" content="Publify <%= PublifyCore::VERSION %>">
7
7
  <%= show_meta_keyword %>
8
8
  <% if feed_atom %>
9
- <link rel="alternate" type="application/atom+xml" title="Atom" href="<%= feed_atom %>" />
9
+ <link rel="alternate" type="application/atom+xml" title="Atom" href="<%= feed_atom %>">
10
10
  <% end %>
11
11
  <% if feed_rss %>
12
- <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= feed_rss %>" />
12
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= feed_rss %>">
13
13
  <% end %>
14
14
  <%= javascript_include_tag :publify, async: Rails.env.production? %>
15
15
  <%= csrf_meta_tags %>
16
16
  <%= stylesheet_link_tag :publify %>
17
17
  <%= page_header_includes %>
18
- <link rel="canonical" href="<%= this_blog.url_for request.fullpath %>" />
18
+ <link rel="canonical" href="<%= this_blog.url_for request.fullpath %>">
19
19
  <%= raw this_blog.custom_tracking_field if this_blog.custom_tracking_field.present? %>
20
20
  <%= render 'shared/google_analytics' if this_blog.google_analytics.present? %>
21
21
 
@@ -1,9 +1,9 @@
1
1
  <% unless sidebar.tags.blank? %>
2
2
  <h3 class="sidebar-title"><%= t('.tags') %></h3>
3
3
  <div class="sidebar-body">
4
- <p style="overflow:hidden">
4
+ <p class="tag-sidebar-tag-cloud">
5
5
  <% sidebar.tags.each do |tag| %>
6
- <span style="font-size:<%= sidebar.sizes[tag] %>%"><%= link_to tag.display_name, tag_url(tag.name) %></span>
6
+ <span class="tag-sidebar-tag-<%= sidebar.sizes[tag] %>"><%= link_to tag.display_name, tag_url(tag.name) %></span>
7
7
  <% end %>
8
8
  </p>
9
9
  </div>
@@ -284,7 +284,6 @@ ar:
284
284
  compose_new_note: قم بتكوين ملاحظة جديدة
285
285
  in_reply_to: في الرد على
286
286
  no_notes: لا توجد ملاحظات بعد. هل تريد إنشاء واحد؟
287
- now: الآن
288
287
  or: أو
289
288
  permanent_link: رابط ثابت
290
289
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ da:
246
246
  compose_new_note: Compose new note
247
247
  in_reply_to: In reply to
248
248
  no_notes: There are no notes yet. Why don't you create one?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanent link
252
251
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ de:
246
246
  compose_new_note: Compose new note
247
247
  in_reply_to: In reply to
248
248
  no_notes: There are no notes yet. Why don't you create one?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanent link
252
251
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ en:
246
246
  compose_new_note: Compose new note
247
247
  in_reply_to: In reply to
248
248
  no_notes: There are no notes yet. Why don't you create one?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanent link
252
251
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ es-MX:
246
246
  compose_new_note: Componer una nueva nota
247
247
  in_reply_to: In reply to
248
248
  no_notes: No existen notas a&uacute;n. Por qu&eacute; no empieza creando una?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanent link
252
251
  posse_to_twitter: POSSE to twitter
@@ -250,7 +250,6 @@ fr:
250
250
  compose_new_note: Écrire un nouveau billet
251
251
  in_reply_to: En réponse à
252
252
  no_notes: 'Il n''y a pas encore de notes, pourquoi ne pas en créer une ? '
253
- now: Maintenant
254
253
  or: ou
255
254
  permanent_link: Lien permanent
256
255
  posse_to_twitter: POSSE to twitter
@@ -245,7 +245,6 @@ he:
245
245
  compose_new_note: Compose new note
246
246
  in_reply_to: In reply to
247
247
  no_notes: There are no notes yet. Why don't you create one?
248
- now: Now
249
248
  or: or
250
249
  permanent_link: Permanent link
251
250
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ it:
246
246
  compose_new_note: Compose new note
247
247
  in_reply_to: In reply to
248
248
  no_notes: There are no notes yet. Why don't you create one?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanent link
252
251
  posse_to_twitter: POSSE to Twitter
@@ -245,7 +245,6 @@ ja:
245
245
  compose_new_note: Compose new note
246
246
  in_reply_to: In reply to
247
247
  no_notes: There are no notes yet. Why don't you create one?
248
- now: Now
249
248
  or: or
250
249
  permanent_link: Permanent link
251
250
  posse_to_twitter: POSSE to Twitter
@@ -258,7 +258,6 @@ lt:
258
258
  compose_new_note: Compose new note
259
259
  in_reply_to: In reply to
260
260
  no_notes: There are no notes yet. Why don't you create one?
261
- now: Now
262
261
  or: or
263
262
  permanent_link: Permanent link
264
263
  posse_to_twitter: POSSE to Twitter
@@ -246,7 +246,6 @@ nb:
246
246
  compose_new_note: Skriv nytt notat
247
247
  in_reply_to: Som svar på
248
248
  no_notes: Det er ingen notater enda. Hva med å opprette en?
249
- now: Nå
250
249
  or: eller
251
250
  permanent_link: Permanent lenke
252
251
  posse_to_twitter: POSSE til Twitter
@@ -246,7 +246,6 @@ nl:
246
246
  compose_new_note: Compose new note
247
247
  in_reply_to: In reply to
248
248
  no_notes: Er zijn nog geen notes. Waarom maak je er geen?
249
- now: Now
250
249
  or: or
251
250
  permanent_link: Permanente link
252
251
  posse_to_twitter: POSSE naar Twitter
@@ -270,7 +270,6 @@ pl:
270
270
  compose_new_note: Utwórz nową notatkę
271
271
  in_reply_to: W odpowiedzi do
272
272
  no_notes: Brak notatek
273
- now: Teraz
274
273
  or: lub
275
274
  permanent_link: Link
276
275
  posse_to_twitter: POSSE to twitter
@@ -246,7 +246,6 @@ pt-BR:
246
246
  compose_new_note: Compor nova nota
247
247
  in_reply_to: Em resposta a
248
248
  no_notes: Não existem notas ainda. Por que você não inicia e cria uma?
249
- now: Agora
250
249
  or: ou
251
250
  permanent_link: link permanente
252
251
  posse_to_twitter: POSSE para twitter
@@ -258,7 +258,6 @@ ro:
258
258
  compose_new_note: Compose new note
259
259
  in_reply_to: In reply to
260
260
  no_notes: There are no notes yet. Why don't you create one?
261
- now: Now
262
261
  or: or
263
262
  permanent_link: Permanent link
264
263
  posse_to_twitter: POSSE to Twitter
@@ -270,7 +270,6 @@ ru:
270
270
  compose_new_note: Compose new note
271
271
  in_reply_to: In reply to
272
272
  no_notes: Ничего нет. Почему бы не начать и не добавить?
273
- now: Сейчас
274
273
  or: или
275
274
  permanent_link: Постоянная ссылка
276
275
  posse_to_twitter: POSSE to Twitter
@@ -242,7 +242,6 @@ zh-CN:
242
242
  compose_new_note: Compose new note
243
243
  in_reply_to: In reply to
244
244
  no_notes: 这儿并不存在Notes。让我们开始创建它。
245
- now: Now
246
245
  or: or
247
246
  permanent_link: Permanent link
248
247
  posse_to_twitter: POSSE to twitter