Skip to content
Snippets Groups Projects
Commit b788163a authored by User expired's avatar User expired
Browse files

openolat#44: do use a different text for the guest access explanation

parent 4a1c828c
No related branches found
No related tags found
No related merge requests found
...@@ -493,6 +493,7 @@ remove=Entfernen ...@@ -493,6 +493,7 @@ remove=Entfernen
rentry.access.author.explain=Zugang wird im Status "$\:cif.status.review", "$\:cif.status.coachpublished", "$\:cif.status.published" oder "$\:cif.status.closed" automatisch freigeschaltet rentry.access.author.explain=Zugang wird im Status "$\:cif.status.review", "$\:cif.status.coachpublished", "$\:cif.status.published" oder "$\:cif.status.closed" automatisch freigeschaltet
rentry.access.author.title=Freigabe f\u00FCr andere Autoren rentry.access.author.title=Freigabe f\u00FCr andere Autoren
rentry.access.guest=Zugang ohne Login rentry.access.guest=Zugang ohne Login
rentry.access.guest.explain=Der Gastzugang wird im Status "$\:cif.status.published" oder "$\:cif.status.closed" automatisch freigeschaltet
rentry.access.guest.on=f\u00FCr Gastbenutzer zulassen rentry.access.guest.on=f\u00FCr Gastbenutzer zulassen
rentry.access.title=Zugang- und Buchungskonfiguration rentry.access.title=Zugang- und Buchungskonfiguration
rentry.access.type=Zugang f\u00FCr Teilnehmer der Organisation rentry.access.type=Zugang f\u00FCr Teilnehmer der Organisation
......
...@@ -488,6 +488,7 @@ remove=Remove ...@@ -488,6 +488,7 @@ remove=Remove
rentry.access.author.explain=Access is automatically allowed with status "$\:cif.status.review", "$\:cif.status.coachpublished", "$\:cif.status.published" or "$\:cif.status.closed" rentry.access.author.explain=Access is automatically allowed with status "$\:cif.status.review", "$\:cif.status.coachpublished", "$\:cif.status.published" or "$\:cif.status.closed"
rentry.access.author.title=Shared to others authors rentry.access.author.title=Shared to others authors
rentry.access.guest=Access without login rentry.access.guest=Access without login
rentry.access.guest.explain=Guest access automatically allowed with status "$\:cif.status.published" or "$\:cif.status.closed"
rentry.access.guest.on=allowed for guests rentry.access.guest.on=allowed for guests
rentry.access.title=Access and booking configuration rentry.access.title=Access and booking configuration
rentry.access.type=Access for members of the organisation rentry.access.type=Access for members of the organisation
......
...@@ -244,7 +244,8 @@ public class AuthoringEditAccessAndBookingController extends FormBasicController ...@@ -244,7 +244,8 @@ public class AuthoringEditAccessAndBookingController extends FormBasicController
guestEl.select(onKeys[0], true); guestEl.select(onKeys[0], true);
} }
explainGuestAccessEl = uifactory.addStaticTextElement("rentry.access.guest.explain", null, explainAccess, accessCont); String explainGuestAccess = "<i class='o_icon o_icon_warn'> </i> ".concat(translate("rentry.access.guest.explain"));
explainGuestAccessEl = uifactory.addStaticTextElement("rentry.access.guest.explain", null, explainGuestAccess, accessCont);
explainGuestAccessEl.setElementCssClass("o_repo_explanation"); explainGuestAccessEl.setElementCssClass("o_repo_explanation");
boolean managedBookings = RepositoryEntryManagedFlag.isManaged(entry, RepositoryEntryManagedFlag.bookings); boolean managedBookings = RepositoryEntryManagedFlag.isManaged(entry, RepositoryEntryManagedFlag.bookings);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment