Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
888
Issues
888
List
Boards
Labels
Service Desk
Milestones
Merge Requests
49
Merge Requests
49
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
2420b908
Commit
2420b908
authored
12 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting
parent
b37f4a54
feat/edit-name-sidebar-262
1 merge request
!526
[Sprint/ModestMonkey](feat): Added edit functionality to profile sidebar #1133
Pipeline
#79228057
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
sidebar.html
src/app/modules/channels/sidebar/sidebar.html
+11
-3
No files found.
src/app/modules/channels/sidebar/sidebar.html
View file @
2420b908
...
...
@@ -6,7 +6,10 @@
></minds-avatar>
<div
class=
"m-channel--name"
>
<h2
[hidden]=
"editing"
>
{{user.name}}
</h2>
<div
class=
"minds-editable-container mdl-card__supporting-text m-channel--name--editor"
*ngIf=
"editing && isOwner()"
>
<div
class=
"minds-editable-container mdl-card__supporting-text m-channel--name--editor"
*ngIf=
"editing && isOwner()"
>
<textarea
[
autoGrow
]
class=
"mdl-textfield__input"
...
...
@@ -19,9 +22,14 @@
class=
"minds-button-edit"
(click)=
"toggleEditing()"
*ngIf=
"session.getLoggedInUser().guid == user.guid"
>
>
<button
class=
"material-icons"
[hidden]=
"editing"
>
edit
</button>
<button
class=
"material-icons m-channel-button-edit--done"
[hidden]=
"!editing"
>
done
</button>
<button
class=
"material-icons m-channel-button-edit--done"
[hidden]=
"!editing"
>
done
</button>
</span>
<minds-button-user-dropdown
[(user)]=
"user"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment