diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index b80ff96..ab8010e 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -1,4 +1,5 @@ version: '3.7' +name: probuddy services: database: diff --git a/src/client/app/js/app/core/Dict.js b/src/client/app/js/app/core/Dict.js index 649eda3..ea3c7fb 100644 --- a/src/client/app/js/app/core/Dict.js +++ b/src/client/app/js/app/core/Dict.js @@ -240,8 +240,8 @@ app.core.Dict = { "EDIT_GROUP" : "Gruppe bearbeiten", "GROUP_NAME" : "Gruppenname", "GROUP_DESCRIPTION" : "Beschreibung", - "GROUP_NEW_USERS_ACTIVE": "Erweiterte Sicherheit", - "GROUP_NEW_USERS_ACTIVE_CHECKBOX": "Hiermit deaktiviere ich die erweiterte Sicherheit im Anmeldeprozess und setze alle neuen Teilnehmer automatisch auf aktiv.", + "GROUP_NEW_USERS_INACTIVE": "Erweiterte Sicherheit aktiv", + "GROUP_NEW_USERS_INACTIVE_CHECKBOX": "Bei erweiterter Sicherheit sind neu registrierte Teilnehmer vorab vom Gruppeninhaber oder Admin in der Mitgliederverwaltung auf \"aktiv\" zu setzen. \"Inaktive\" Teilnehmer können nicht Zusagen und keine Termindetails einsehen. Ist die erweiterte Sicherheit ausgeschaltet, werden neue Teilnehmer automatisch auf aktiv gesetzt.", "GROUP_TERMS": "Nutzungsbedingungen", "GROUP_TERMS_ACCEPT": "akzeptieren", "GROUP_TERMS_ACCEPTED": "Du hast die Nutzungsbedingungen akzeptiert", diff --git a/src/client/app/js/app/model/Group.js b/src/client/app/js/app/model/Group.js index f9b5bfa..63171e2 100644 --- a/src/client/app/js/app/model/Group.js +++ b/src/client/app/js/app/model/Group.js @@ -19,7 +19,7 @@ app.model.Group = function( data, memberData ) termsConditions = data.terms_conditions || null, termsConditionsActive = data.terms_conditions_active == 1, contactInformation = data.contact_information || null, - newUsersActive = data.new_users_active == 1, + newUsersInActive = data.new_users_inactive == 1, emblemUrl = data.emblem_url || null, emblem_cloud_id = data.emblem_cloud_id || null, memberData = memberData || null, @@ -119,9 +119,9 @@ app.model.Group = function( data, memberData ) return contactInformation; }; - this.getNewUsersActive = function() + this.getNewUsersInactive = function() { - return newUsersActive; + return newUsersInActive; }; /** diff --git a/src/client/app/js/app/state/GroupDetailEdit.js b/src/client/app/js/app/state/GroupDetailEdit.js index 8876204..6b1b545 100644 --- a/src/client/app/js/app/state/GroupDetailEdit.js +++ b/src/client/app/js/app/state/GroupDetailEdit.js @@ -41,7 +41,7 @@ app.state.GroupDetailEdit = function() description: app.util.Helper.trim($form.find('[data-id="textarea-team-description"]').first().val()), termsConditions: app.util.Helper.trim($form.find('[data-id="textarea-team-terms-conditions"]').first().val()), termsConditionsActive: $form.find('[data-id="checkbox-team-terms-conditions-active"]').first().is(":checked"), - newUsersActive: $form.find('[data-id="checkbox-new-users-active"]').first().is(":checked"), + newUsersInactive: $form.find('[data-id="checkbox-new-users-active"]').first().is(":checked"), contactInformation: app.util.Helper.trim($form.find('[data-id="textarea-team-contactinformation"]').first().val()), industry: $form.find('[data-id="select-team-industry"]').first().val() }, diff --git a/src/client/app/tmpl/group-detail-edit.html b/src/client/app/tmpl/group-detail-edit.html index 39a7419..3209295 100644 --- a/src/client/app/tmpl/group-detail-edit.html +++ b/src/client/app/tmpl/group-detail-edit.html @@ -86,17 +86,17 @@ placeholder="<%= _lc( 'TEAM_DETAIL_TEAMDESCRIPTION_PLACEHOLDER' ) %>"><%= group.getDescription() ? group.getDescription() : '' %>
<%= _lc( 'GROUP_TERMS_DESCRIPTION' ) %>
- +<%=raw group.getTermsConditions() ? app.util.Helper.nl2br( group.getTermsConditions() ) : '' %>
<% if ( group.getTermsConditionsActive() ) { %>