Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1300622
_job_template_details.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, 2:34 PM
Size
1 KB
Mime Type
text/plain
Expires
Fri, Nov 21, 2:34 PM (4 h, 20 m)
Engine
blob
Format
Raw Data
Handle
294871
Attached To
rARCHIVING archiving
_job_template_details.html.erb
View Options
<tr>
<td>
<%=
link_to
job
.
name
,
host_job_path
(
@host
,
job
)
%>
</td>
<td>
<%=
job
.
job_type
%>
</td>
<td>
<%=
link_to
job
.
fileset
.
name
,
'#'
,
data
:
{
toggle
:
'modal'
,
target
:
".js-fileset-
#{
job
.
fileset_id
}
:first"
}
%>
</td>
<td>
<%=
link_to
job
.
schedule_human
,
'#'
,
data
:
{
toggle
:
'modal'
,
target
:
".js-schedule-
#{
job
.
schedule_id
}
:first"
}
%>
</td>
<td>
<%=
job
.
client_before_run_file
%>
</td>
<td>
<%=
job
.
client_after_run_file
%>
</td>
<td>
<%=
yes_no
(
job
.
enabled?
?
1
:
0
)
%>
</td>
<td>
<%
if
job
.
enabled?
%>
<%=
button_or_disabled_with_label
(
@host
.
blocked?
,
'Disable'
,
toggle_enable_host_job_path
(
@host
,
job
),
method
:
:patch
,
class
:
"btn btn-default"
,
role
:
"button"
,
icon_class
:
'glyphicon glyphicon-remove'
,
text_class
:
'text-warning'
)
%>
<%
else
%>
<%=
button_or_disabled_with_label
(
@host
.
blocked?
,
'Enable'
,
toggle_enable_host_job_path
(
@host
,
job
),
method
:
:patch
,
class
:
"btn btn-default"
,
role
:
"button"
,
icon_class
:
'glyphicon glyphicon-ok'
,
text_class
:
'text-success'
)
%>
<%
end
%>
</td>
</tr>
Event Timeline
Log In to Comment