Commit b61e7ae1373e684749897490d0cf4fee96dc1a3a
1 parent
af618249
Exists in
master
and in
20 other branches
Replaced explicit admin url by plugin method
This fixes link on Noosfero running as a subdirectory Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
plugins/environment_notification/views/environment_notification_plugin_admin/show_notification.html.erb
| @@ -5,10 +5,8 @@ | @@ -5,10 +5,8 @@ | ||
| 5 | <div class="adminnotification notification"> | 5 | <div class="adminnotification notification"> |
| 6 | <div class="notification-message"> | 6 | <div class="notification-message"> |
| 7 | <p> | 7 | <p> |
| 8 | - <%= _("There are active notifications in this environment! You can ") %> | ||
| 9 | - <a href="/admin/plugin/environment_notification"> | ||
| 10 | - <%= _("manage all notifications here.") %> | ||
| 11 | - </a> | 8 | + <%= _("There are active notifications in this environment!") %> |
| 9 | + <%= link_to _("Manage all notifications here."), EnvironmentNotificationPlugin.admin_url %> | ||
| 12 | </p> | 10 | </p> |
| 13 | </div> | 11 | </div> |
| 14 | </div> | 12 | </div> |