error-popins.html 2.79 KB
Newer Older
Hamza Arfaoui's avatar
Hamza Arfaoui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<svg version="1.1" id="errorCompany" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="221.609px" height="70.97px" viewBox="0 0 221.609 70.97"
style="enable-background:new 0 0 221.609 70.97;left: -220px;top: -15px;position: absolute;" xml:space="preserve" ng-show="clientcompany && !caisse.company && config.borne.POPUP_ERRORS !== true">
	<rect ng-style="{'fill': errorPopinColor }" rx="10" ry="10" width="179.075" height="70.97"/><polygon ng-style="{'fill': errorPopinColor }" points="199.249,35.485 176.302,48.733 176.302,22.236 "/>
</svg>
<svg version="1.1" id="errorCiv" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="221.609px" height="70.97px" viewBox="0 0 221.609 70.97"
style="enable-background:new 0 0 221.609 70.97;left: -220px;top: -15px;position: absolute;" xml:space="preserve" ng-show="clientcivilite && !caisse.civilite && config.borne.POPUP_ERRORS !== true  && caisse.config.fields.GENDER.REQUIRED">
	<rect ng-style="{'fill': errorPopinColor }" rx="10" ry="10" width="179.075" height="70.97"/><polygon ng-style="{'fill': errorPopinColor }" points="199.249,35.485 176.302,48.733 176.302,22.236 "/>
</svg>
<svg version="1.1" id="errorName" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="221.609px" height="70.97" viewBox="0 0 221.609 70.97"
style="enable-background:new 0 0 221.609 70.97;position: absolute;left: -220px;top: 75px; " xml:space="preserve" 
ng-show="(caisse.company || caisse.civilite || !caisse.config.fields.GENDER.REQUIRED) && ((!caisse.lastname && caisse.config.fields.LASTNAME.REQUIRED) || (!caisse.firstname && caisse.config.fields.FIRSTNAME.REQUIRED)) && config.borne.POPUP_ERRORS !== true">
	<rect ng-style="{'fill': errorPopinColor }" rx="10" ry="10" width="179.075" height="70.97"/><polygon ng-style="{'fill': errorPopinColor }" points="199.249,35.485 176.302,48.733 176.302,22.236 "/>
</svg>

<span class="error_text civ_text" ng-if="clientcivilite && !caisse.civilite && !config.borne.POPUP_ERRORS && caisse.config.fields.GENDER.REQUIRED" ng-bind-html='titles.CIV_ERROR | sep2br'></span>
<span class="error_text company_text" ng-if="clientcompany && !caisse.company && !config.borne.POPUP_ERRORS" ng-bind-html='titles.COMPANY_ERROR | sep2br'></span>
<span class="error_text name_text" ng-if="(caisse.company || caisse.civilite || !caisse.config.fields.GENDER.REQUIRED) && ((!caisse.lastname && caisse.config.fields.LASTNAME.REQUIRED) || (!caisse.firstname && caisse.config.fields.FIRSTNAME.REQUIRED)) && !config.borne.POPUP_ERRORS"  ng-bind-html='titles.NAME_ERROR | sep2br'></span>
<span class="error_text cgu_text" ng-if="(!caisse.cgu && caisse.config.fields.CGU.REQUIRED) && !config.borne.POPUP_ERRORS"  ng-bind-html='titles.CGU_ERROR | sep2br'></span>