Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1299969
_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
Wed, Nov 19, 5:39 AM
Size
1 KB
Mime Type
text/plain
Expires
Fri, Nov 21, 5:39 AM (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
290836
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