Use uib-alert instead of deprecated alert tag.
This commit is contained in:
parent
c4468f93ac
commit
76dc29cddf
@ -126,9 +126,9 @@
|
|||||||
|
|
||||||
<!-- Select speakers form -->
|
<!-- Select speakers form -->
|
||||||
<div class="form-group spacer">
|
<div class="form-group spacer">
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
<div os-perms="agenda.can_manage" class="input-group">
|
<div os-perms="agenda.can_manage" class="input-group">
|
||||||
<ui-select ng-model="speakerSelectBox.selected" ng-change="addSpeaker(speakerSelectBox.selected.id)">
|
<ui-select ng-model="speakerSelectBox.selected" ng-change="addSpeaker(speakerSelectBox.selected.id)">
|
||||||
<ui-select-match placeholder="{{ 'Select or search a participant ...' | translate }}">
|
<ui-select-match placeholder="{{ 'Select or search a participant ...' | translate }}">
|
||||||
|
@ -162,9 +162,9 @@
|
|||||||
<td ng-show="item.quickEdit" os-perms="agenda.can_manage" colspan="3">
|
<td ng-show="item.quickEdit" os-perms="agenda.can_manage" colspan="3">
|
||||||
<form ng-submit="save(item)">
|
<form ng-submit="save(item)">
|
||||||
<h4>{{ item.getTitle() }} <span class="text-muted">– QuickEdit</span></h4>
|
<h4>{{ item.getTitle() }} <span class="text-muted">– QuickEdit</span></h4>
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label for="inputTitle" translate>Title</label>
|
<label for="inputTitle" translate>Title</label>
|
||||||
|
@ -91,9 +91,9 @@
|
|||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
<div os-perms="assignments.can_nominate_other" class="input-group">
|
<div os-perms="assignments.can_nominate_other" class="input-group">
|
||||||
<ui-select ng-model="candidateSelectBox.selected" ng-change="addCandidate(candidateSelectBox.selected.id)">
|
<ui-select ng-model="candidateSelectBox.selected" ng-change="addCandidate(candidateSelectBox.selected.id)">
|
||||||
<ui-select-match placeholder="{{ 'Select or search a participant ...' | translate }}">
|
<ui-select-match placeholder="{{ 'Select or search a participant ...' | translate }}">
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<h1 ng-if="model.id" translate>Edit election</h1>
|
<h1 ng-if="model.id" translate>Edit election</h1>
|
||||||
<h1 ng-if="!model.id" translate>New election</h1>
|
<h1 ng-if="!model.id" translate>New election</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<form name="assignmentForm" ng-submit="save(model)">
|
<form name="assignmentForm" ng-submit="save(model)">
|
||||||
<formly-form model="model" fields="formFields">
|
<formly-form model="model" fields="formFields">
|
||||||
|
@ -135,9 +135,9 @@
|
|||||||
<!-- quickEdit columns -->
|
<!-- quickEdit columns -->
|
||||||
<td ng-if="assignment.quickEdit" colspan="3">
|
<td ng-if="assignment.quickEdit" colspan="3">
|
||||||
<h4>{{ assignment.title }} <span class="text-muted">– Quick Edit</span></h4>
|
<h4>{{ assignment.title }} <span class="text-muted">– Quick Edit</span></h4>
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label for="inputTitle" translate>Title</label>
|
<label for="inputTitle" translate>Title</label>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<h1><translate>Ballot</translate> {{ ballot }}</h1>
|
<h1><translate>Ballot</translate> {{ ballot }}</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<translate>Special values</translate>:
|
<translate>Special values</translate>:
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<h1 ng-if="model.id" translate>Edit agenda item</h1>
|
<h1 ng-if="model.id" translate>Edit agenda item</h1>
|
||||||
<h1 ng-if="!model.id" translate>New agenda item</h1>
|
<h1 ng-if="!model.id" translate>New agenda item</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<form name="customslideForm" ng-submit="save(model)">
|
<form name="customslideForm" ng-submit="save(model)">
|
||||||
<formly-form model="model" fields="formFields">
|
<formly-form model="model" fields="formFields">
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<h1 ng-if="model.id" translate>Edit motion</h1>
|
<h1 ng-if="model.id" translate>Edit motion</h1>
|
||||||
<h1 ng-if="!model.id" translate>New motion</h1>
|
<h1 ng-if="!model.id" translate>New motion</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<form name="motionForm" ng-submit="save(model)">
|
<form name="motionForm" ng-submit="save(model)">
|
||||||
<formly-form model="model" fields="formFields">
|
<formly-form model="model" fields="formFields">
|
||||||
|
@ -161,9 +161,9 @@
|
|||||||
<!-- quickEdit columns -->
|
<!-- quickEdit columns -->
|
||||||
<td ng-if="motion.quickEdit && motion.isAllowed('quickedit')" colspan="5">
|
<td ng-if="motion.quickEdit && motion.isAllowed('quickedit')" colspan="5">
|
||||||
<h4>{{ motion.getTitle() }} <span class="text-muted">– <translate>QuickEdit</translate></span></h4>
|
<h4>{{ motion.getTitle() }} <span class="text-muted">– <translate>QuickEdit</translate></span></h4>
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label for="inputIdentifier" translate>Identifier</label>
|
<label for="inputIdentifier" translate>Identifier</label>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<h1><translate>Vote</translate> {{ voteNumber }}</h1>
|
<h1><translate>Vote</translate> {{ voteNumber }}</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<translate>Special values</translate>:
|
<translate>Special values</translate>:
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<h1 ng-if="model.id" translate>Edit participant</h1>
|
<h1 ng-if="model.id" translate>Edit participant</h1>
|
||||||
<h1 ng-if="!model.id" translate>New participant</h1>
|
<h1 ng-if="!model.id" translate>New participant</h1>
|
||||||
|
|
||||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</alert>
|
</uib-alert>
|
||||||
|
|
||||||
<form name="userForm" ng-submit="save(model)">
|
<form name="userForm" ng-submit="save(model)">
|
||||||
<formly-form model="model" fields="formFields">
|
<formly-form model="model" fields="formFields">
|
||||||
|
Loading…
Reference in New Issue
Block a user