aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/blog/_submenu.html.erb3
-rw-r--r--app/views/admin/blog/settings/notification_recipients.html.erb24
2 files changed, 26 insertions, 1 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb
index 89fe69c..e03e476 100644
--- a/app/views/admin/blog/_submenu.html.erb
+++ b/app/views/admin/blog/_submenu.html.erb
@@ -59,7 +59,8 @@
:class => "#{BlogComment::Moderation.enabled? ? 'success' : 'failure'}_icon" %>
</li>
<li>
- <%= link_to t('.settings.update_notified'), update_notified_admin_blog_settings_url(:dialog => true),
+ <%= link_to t('.settings.update_notified'),
+ notification_recipients_admin_blog_settings_url(:dialog => true, :height => 400),
:class => 'user_comment_icon' %>
</li>
</ul>
diff --git a/app/views/admin/blog/settings/notification_recipients.html.erb b/app/views/admin/blog/settings/notification_recipients.html.erb
new file mode 100644
index 0000000..ea36af1
--- /dev/null
+++ b/app/views/admin/blog/settings/notification_recipients.html.erb
@@ -0,0 +1,24 @@
+<% form_tag do %>
+
+ <div class='field'>
+ <span class='label_with_help'>
+ <%= label_tag :recipients, t('.value') %>
+ </span>
+ <%= text_field_tag :recipients, @recipients, :class => "larger widest" %>
+ </div>
+
+ <p>
+ <%= t('.hint') %>
+ </p>
+ <p>
+ <%= t('.example') %>
+ </p>
+
+ <%= render :partial => "/shared/admin/form_actions",
+ :locals => {
+ :f => nil,
+ :continue_editing => false,
+ :cancel_url => admin_blog_posts_url,
+ :hide_delete => true
+ } %>
+<% end %>