Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Cesium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Cesium-grp
Cesium
Commits
e994012d
Commit
e994012d
authored
5 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] ES Profile: Clean HTML in edit social template
parent
349a037d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
www/plugins/es/templates/common/edit_socials.html
+8
-9
8 additions, 9 deletions
www/plugins/es/templates/common/edit_socials.html
www/plugins/es/templates/user/edit_profile.html
+3
-11
3 additions, 11 deletions
www/plugins/es/templates/user/edit_profile.html
with
11 additions
and
20 deletions
www/plugins/es/templates/common/edit_socials.html
+
8
−
9
View file @
e994012d
<
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 > 1"
ng-if=
"formData.socials && formData.socials.length > 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>
...
...
This diff is collapsed.
Click to expand it.
www/plugins/es/templates/user/edit_profile.html
+
3
−
11
View file @
e994012d
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment