Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1966599
_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
Sat, May 16, 11:54 PM
Size
1 KB
Mime Type
text/plain
Expires
Mon, May 18, 11:54 PM (9 h, 30 m)
Engine
blob
Format
Raw Data
Handle
377264
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>
<%=
link_to
admin_user_path
(
user
)
do
%>
<label class="glyphicon glyphicon-eye-open text-primary" alt="show"></label>
<%
end
%>
<%
if
user
.
editable?
%>
<%=
link_to
edit_admin_user_path
(
user
)
do
%>
<label class="glyphicon glyphicon-edit text-primary" alt="show"></label>
<%
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