Skip to content
Snippets Groups Projects
Commit e994012d authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] ES Profile: Clean HTML in edit social template

parent 349a037d
No related branches found
No related tags found
No related merge requests found
<ion-list class="no-padding"> <div class="list no-padding {{::motion.ionListClass}}">
<!-- divider --> <!-- divider -->
<div class="item item-divider"> <div class="item item-divider">
<span>
{{'PROFILE.SOCIAL_NETWORKS_DIVIDER' | translate}} <span translate>PROFILE.SOCIAL_NETWORKS_DIVIDER</span>
</span>
<a class="badge button button-text button-small button-small-padding" <a class="badge button button-text button-small button-small-padding"
ng-class="{'button-text-positive': socialData.reorder}" ng-class="{'button-text-positive': socialData.reorder}"
ng-if="formData.socials && formData.socials.length &gt; 1" ng-if="formData.socials && formData.socials.length &gt; 1"
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
<span translate>PROFILE.BTN_REORDER</span> <span translate>PROFILE.BTN_REORDER</span>
</a> </a>
</div> </div>
</ion-list> </div>
<ion-list show-reorder="socialData.reorder"> <ion-list show-reorder="socialData.reorder">
<ion-item class="item-remove-animate item-icon-left item-social-edit" <ion-item class="item-icon-left item-social-edit done in"
type="no-padding item-text-wrap" type="no-padding item-text-wrap"
ng-if="formData.socials && formData.socials.length" ng-if="formData.socials && formData.socials.length"
ng-repeat="social in formData.socials | filter:filterFn track by social.url" ng-repeat="social in formData.socials | filter:filterFn track by social.url"
...@@ -63,9 +63,8 @@ ...@@ -63,9 +63,8 @@
on-return="addSocialNetwork($event);" on-return="addSocialNetwork($event);"
ng-model="socialData.url"/> ng-model="socialData.url"/>
</label> </label>
<button class="button button-small hidden-xs" type="button" ng-click="addSocialNetwork($event)"> <button class="button button-small hidden-xs" type="button" ng-click="addSocialNetwork($event)"
{{'COMMON.BTN_ADD'|translate}} translate>COMMON.BTN_ADD</button>
</button>
<button class="button button-small button-icon icon ion-android-add visible-xs" type="button" <button class="button button-small button-icon icon ion-android-add visible-xs" type="button"
ng-click="addSocialNetwork($event)"> ng-click="addSocialNetwork($event)">
</button> </button>
......
...@@ -63,11 +63,7 @@ ...@@ -63,11 +63,7 @@
<form name="profileForm" novalidate="" ng-submit="saveAndClose()"> <form name="profileForm" novalidate="" ng-submit="saveAndClose()">
<div class="list item-text-wrap {{::motion.ionListClass}}" <div class="list item-text-wrap {{::motion.ionListClass}}" ng-init="setForm(profileForm)">
ng-init="setForm(profileForm)">
<!-- Public info --> <!-- Public info -->
<div class="item item-icon-left item-text-wrap"> <div class="item item-icon-left item-text-wrap">
...@@ -75,9 +71,7 @@ ...@@ -75,9 +71,7 @@
<h4 class="positive" translate>PROFILE.HELP.WARNING_PUBLIC_DATA</h4> <h4 class="positive" translate>PROFILE.HELP.WARNING_PUBLIC_DATA</h4>
</div> </div>
<div class="item item-divider"> <div class="item item-divider" translate>PROFILE.GENERAL_DIVIDER</div>
{{'PROFILE.GENERAL_DIVIDER' | translate}}
</div>
<!-- title --> <!-- title -->
<ion-item class="item-input item-floating-label item-button-right" <ion-item class="item-input item-floating-label item-button-right"
...@@ -121,9 +115,7 @@ ...@@ -121,9 +115,7 @@
<div class="list item-text-wrap {{::motion.ionListClass}}"> <div class="list item-text-wrap {{::motion.ionListClass}}">
<div class="item item-divider"> <div class="item item-divider" translate>PROFILE.TECHNICAL_DIVIDER</div>
{{'PROFILE.TECHNICAL_DIVIDER' | translate}}
</div>
<!-- uid --> <!-- uid -->
<ion-item class="item-icon-left" ng-if="walletData && walletData.uid"> <ion-item class="item-icon-left" ng-if="walletData && walletData.uid">
......
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