Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1296832
_user.html.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Nov 17, 10:49 PM
Size
1 KB
Mime Type
text/plain
Expires
Wed, Nov 19, 10:49 PM (21 h, 2 m)
Engine
blob
Format
Raw Data
Handle
290838
Attached To
rARCHIVING archiving
_user.html.erb
View Options
<tr>
<td>
<%=
link_to
"#
#{
user
.
id
}
"
,
admin_user_path
(
user
)
%>
</td>
<td>
<%=
link_to
user
.
username
,
admin_user_path
(
user
)
%>
</td>
<td>
<%=
user
.
email
%>
</td>
<td>
<%=
user
.
user_type
%>
</td>
<td>
<%=
I18n
.
l
(
user
.
created_at
,
format
:
:short
)
%>
</td>
<td>
<%=
I18n
.
l
(
user
.
login_at
,
format
:
:short
)
rescue
'-'
%>
</td>
<td>
<%=
inline_list
@baculized_host_names
[
user
.
id
]
%>
</td>
<td>
<%=
inline_list
@unverified_host_names
[
user
.
id
]
%>
</td>
<td>
<%=
inline_list
@non_baculized_host_names
[
user
.
id
]
%>
</td>
<td>
<%=
user
.
has_admin_access?
?
'yes'
:
'no'
%>
</td>
<td>
<%
if
user
.
editable?
%>
<%=
link_to
edit_admin_user_path
(
user
),
class
:
'btn btn-default'
do
%>
<label class="glyphicon glyphicon-edit text-primary" alt="show"></label>
Edit
<%
end
%>
<%
end
%>
</td>
<td>
<%
if
user
.
enabled?
%>
<%=
link_to
ban_admin_user_path
(
user
),
method
:
:patch
,
class
:
'btn btn-default'
,
data
:
{
confirm
:
"User
#{
user
.
username
}
will be banned"
}
do
%>
<label class="glyphicon glyphicon-ban-circle text-danger"></label>
Ban
<%
end
%>
<%
else
%>
<%=
link_to
unban_admin_user_path
(
user
),
method
:
:patch
,
class
:
'btn btn-default'
,
data
:
{
confirm
:
"User
#{
user
.
username
}
will be unbanned"
}
do
%>
<label class="glyphicon glyphicon-ok-circle text-success"></label>
Unban
<%
end
%>
<%
end
%>
</td>
</tr>
Event Timeline
Log In to Comment