diff --git a/app/views/branded/paginable/templates/_publicly_visible.html.erb b/app/views/branded/paginable/templates/_publicly_visible.html.erb index e0c6f20..94e0cd3 100644 --- a/app/views/branded/paginable/templates/_publicly_visible.html.erb +++ b/app/views/branded/paginable/templates/_publicly_visible.html.erb @@ -30,8 +30,10 @@ <% end %> - <%= direct_link(template) %> - + <% if current_user.org.active? %> + <%= direct_link(template) %> + + <% end %> <% end %> diff --git a/app/views/branded/plans/new.html.erb b/app/views/branded/plans/new.html.erb index 5543124..9fabc88 100644 --- a/app/views/branded/plans/new.html.erb +++ b/app/views/branded/plans/new.html.erb @@ -8,7 +8,7 @@
- <%= d_('dmpopidor', 'Your organisation has been deactivated. Please choose a new organisation from your user profile.').html_safe %> + <%= d_('dmpopidor', 'Your organisation has been deactivated. Please choose a new organisation from your user profile.').html_safe %>
<% end %> \ No newline at end of file diff --git a/config/locale/dmpopidor.pot b/config/locale/dmpopidor.pot index 17ed004..a0ea457 100644 --- a/config/locale/dmpopidor.pot +++ b/config/locale/dmpopidor.pot @@ -276,7 +276,7 @@ msgid "Last modified: " msgstr "" -msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." +msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." msgstr "" diff --git a/config/locale/en_GB/dmpopidor.po b/config/locale/en_GB/dmpopidor.po index b60c8f5..444f411 100644 --- a/config/locale/en_GB/dmpopidor.po +++ b/config/locale/en_GB/dmpopidor.po @@ -274,8 +274,8 @@ msgid "Last modified: " msgstr "Last modified: " -msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." -msgstr "Your organisation has been deactivated. Please choose a new organisation from your user profile." +msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." +msgstr "Your organisation has been deactivated. Please choose a new organisation from your user profile." # STATIC PAGES diff --git a/config/locale/fr_FR/dmpopidor.po b/config/locale/fr_FR/dmpopidor.po index 99c114a..cf6ab5d 100644 --- a/config/locale/fr_FR/dmpopidor.po +++ b/config/locale/fr_FR/dmpopidor.po @@ -240,8 +240,8 @@ msgid "Accept" msgstr "J'accepte" -msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." -msgstr "Votre organisation a été désactivée. Veuillez choisir une nouvelle organisation à partir de votre profil utilisateur." +msgid "Your organisation has been deactivated. Please choose a new organisation from your user profile." +msgstr "Votre organisation a été désactivée. Veuillez choisir une nouvelle organisation à partir de votre profil utilisateur." # STATIC PAGES