mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +01:00
Links created using medium editor opens in new tabs
This commit is contained in:
parent
e9185bd402
commit
ef32532cf5
@ -6,6 +6,7 @@
|
|||||||
- In the email notification, sent to admins on account creation, show the group of the user
|
- In the email notification, sent to admins on account creation, show the group of the user
|
||||||
- More explanations in the setup script
|
- More explanations in the setup script
|
||||||
- Send pre-compressed assets to the browsers instead of the regular ones
|
- Send pre-compressed assets to the browsers instead of the regular ones
|
||||||
|
- Links created using "medium editor" opens in new tabs
|
||||||
- Fix a bug: subscriptions tab is selected by default in statistics, even if the module is disabled
|
- Fix a bug: subscriptions tab is selected by default in statistics, even if the module is disabled
|
||||||
- Fix a bug: select all plans for slot restriction (through the dedicated button) also selects the disabled plans
|
- Fix a bug: select all plans for slot restriction (through the dedicated button) also selects the disabled plans
|
||||||
- Fix a bug: recurring availabilities are not restricted to subscribers
|
- Fix a bug: recurring availabilities are not restricted to subscribers
|
||||||
|
@ -130,8 +130,12 @@
|
|||||||
<div class="input-group m-t-md plan-description-input">
|
<div class="input-group m-t-md plan-description-input">
|
||||||
<label for="plan[description]" class="control-label m-r-md" translate>{{ 'app.shared.plan.description' }}</label>
|
<label for="plan[description]" class="control-label m-r-md" translate>{{ 'app.shared.plan.description' }}</label>
|
||||||
<div class="medium-editor-input">
|
<div class="medium-editor-input">
|
||||||
<div ng-model="plan.description" medium-editor options='{"placeholder": "{{ "app.shared.plan.type_a_short_description" | translate }}",
|
<div ng-model="plan.description"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.shared.plan.type_a_short_description" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true,
|
||||||
}'>
|
}'>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,8 +30,13 @@
|
|||||||
|
|
||||||
<div class="row about-fablab">
|
<div class="row about-fablab">
|
||||||
<div class="col-md-4 col-md-offset-1">
|
<div class="col-md-4 col-md-offset-1">
|
||||||
<div class="text-justify" ng-model="aboutBodySetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.input_the_main_content" | translate }}",
|
<div class="text-justify"
|
||||||
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
|
ng-model="aboutBodySetting.value"
|
||||||
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.input_the_main_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "header1", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -39,8 +44,12 @@
|
|||||||
<button name="button" class="btn btn-warning" ng-click="save(aboutBodySetting)" translate>{{ 'app.shared.buttons.save' }}</button>
|
<button name="button" class="btn btn-warning" ng-click="save(aboutBodySetting)" translate>{{ 'app.shared.buttons.save' }}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 col-md-offset-2">
|
<div class="col-md-4 col-md-offset-2">
|
||||||
<div ng-model="aboutContactsSetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.input_the_fablab_contacts" | translate }}",
|
<div ng-model="aboutContactsSetting.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.input_the_fablab_contacts" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "header1", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,8 +48,12 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h4 translate>{{ 'app.admin.settings.message_of_the_machine_booking_page' }}</h4>
|
<h4 translate>{{ 'app.admin.settings.message_of_the_machine_booking_page' }}</h4>
|
||||||
<div ng-model="machineExplicationsAlert.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="machineExplicationsAlert.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -57,8 +61,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h4 translate>{{ 'app.admin.settings.warning_message_of_the_training_booking_page'}}</h4>
|
<h4 translate>{{ 'app.admin.settings.warning_message_of_the_training_booking_page'}}</h4>
|
||||||
<div ng-model="trainingExplicationsAlert.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="trainingExplicationsAlert.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -66,8 +74,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h4 translate>{{ 'app.admin.settings.information_message_of_the_training_reservation_page'}}</h4>
|
<h4 translate>{{ 'app.admin.settings.information_message_of_the_training_reservation_page'}}</h4>
|
||||||
<div ng-model="trainingInformationMessage.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="trainingInformationMessage.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -75,24 +87,36 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h4 translate>{{ 'app.admin.settings.message_of_the_subscriptions_page' }}</h4>
|
<h4 translate>{{ 'app.admin.settings.message_of_the_subscriptions_page' }}</h4>
|
||||||
<div ng-model="subscriptionExplicationsAlert.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="subscriptionExplicationsAlert.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
</div>
|
</div>
|
||||||
<button name="button" class="btn btn-warning" ng-click="save(subscriptionExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
<button name="button" class="btn btn-warning" ng-click="save(subscriptionExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<h4 translate>{{ 'app.admin.settings.message_of_the_events_page' }}</h4>
|
<h4 translate>{{ 'app.admin.settings.message_of_the_events_page' }}</h4>
|
||||||
<div ng-model="eventExplicationsAlert.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="eventExplicationsAlert.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
</div>
|
</div>
|
||||||
<button name="button" class="btn btn-warning" ng-click="save(eventExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
<button name="button" class="btn btn-warning" ng-click="save(eventExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" ng-show="$root.modules.spaces">
|
<div class="col-md-3" ng-show="$root.modules.spaces">
|
||||||
<h4 translate>{{ 'app.admin.settings.message_of_the_spaces_page' }}</h4>
|
<h4 translate>{{ 'app.admin.settings.message_of_the_spaces_page' }}</h4>
|
||||||
<div ng-model="spaceExplicationsAlert.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
<div ng-model="spaceExplicationsAlert.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ]
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_the_message_content" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "unorderedlist", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
}'>
|
}'>
|
||||||
</div>
|
</div>
|
||||||
<button name="button" class="btn btn-warning" ng-click="save(spaceExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
<button name="button" class="btn btn-warning" ng-click="save(spaceExplicationsAlert)" translate>{{ 'app.shared.buttons.save' }}</button>
|
||||||
|
@ -14,8 +14,15 @@
|
|||||||
<div class="row m-t-lg">
|
<div class="row m-t-lg">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h4 translate>{{ 'app.admin.settings.news_of_the_home_page' }}</h4>
|
<h4 translate>{{ 'app.admin.settings.news_of_the_home_page' }}</h4>
|
||||||
<div ng-model="homeBlogpostSetting.value" class="well" medium-editor options='{"placeholder": "{{ "app.admin.settings.type_your_news_here" | translate }}",
|
<div ng-model="homeBlogpostSetting.value"
|
||||||
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]}'></div>
|
class="well"
|
||||||
|
medium-editor
|
||||||
|
options='{
|
||||||
|
"placeholder": "{{ "app.admin.settings.type_your_news_here" | translate }}",
|
||||||
|
"buttons": ["bold", "italic", "anchor", "header1", "header2" ],
|
||||||
|
"targetBlank": true
|
||||||
|
}'>
|
||||||
|
</div>
|
||||||
<span class="help-block text-info text-xs"><i class="fa fa-lightbulb-o"></i> {{ 'app.admin.settings.leave_it_empty_to_not_bring_up_any_news_on_the_home_page' | translate }}</span>
|
<span class="help-block text-info text-xs"><i class="fa fa-lightbulb-o"></i> {{ 'app.admin.settings.leave_it_empty_to_not_bring_up_any_news_on_the_home_page' | translate }}</span>
|
||||||
<button name="button" class="btn btn-warning" ng-click="save(homeBlogpostSetting)" translate>{{ 'app.shared.buttons.save' }}</button>
|
<button name="button" class="btn btn-warning" ng-click="save(homeBlogpostSetting)" translate>{{ 'app.shared.buttons.save' }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user