Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
DRY problem select
Commit Description:
DRY problem select
- if grader_list . length! = 0
%table .table.table-striped.table-condensed
%tr
%th host
%th pid
%th mode
%th last updated
%th type
%th task
%th
- grader_list . each do | grader |
- if grader . active
- c = 'active'
- else
- c = 'inactive'
%tr { :class => c }
= render :partial => 'grader' , :locals => { :grader => grader }
- if not grader . terminated
- if GraderScript . grader_control_enabled?
%td = link_to 'stop' , { :action => 'stop' , :id => grader }, class : 'btn btn-danger btn-xs btn-block'
- else
%td = link_to 'clear' , { :action => 'clear' , :id => grader }, class : 'btn btn-danger btn-xs btn-block'
- else
%ul
%li None
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings