Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
1955a3f4
Commit
1955a3f4
authored
8 years ago
by
Eugen
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Do not display "reset password" in admin UI for remote accounts (#1960)
parent
8ebed7fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/admin/accounts/show.html.haml
+3
-2
app/views/admin/accounts/show.html.haml
with
3 additions
and
2 deletions
+3
-2
app/views/admin/accounts/show.html.haml
+
3
-
2
View file @
1955a3f4
...
...
@@ -61,8 +61,9 @@
=
surround
'('
,
')'
do
=
number_to_human_size
@account
.
media_attachments
.
sum
(
'file_file_size'
)
%div
{
style:
'float: right'
}
=
link_to
t
(
'admin.accounts.reset_password'
),
admin_account_reset_path
(
@account
.
id
),
method: :create
,
class:
'button'
-
if
@account
.
local?
%div
{
style:
'float: right'
}
=
link_to
t
(
'admin.accounts.reset_password'
),
admin_account_reset_path
(
@account
.
id
),
method: :create
,
class:
'button'
%div
{
style:
'float: left'
}
-
if
@account
.
silenced?
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets