Sha256: a74e092b013732b0d3f681d215b1784880885fcca62d6ab683c6af6f091670e5
Contents?: true
Size: 1.52 KB
Versions: 86
Compression:
Stored size: 1.52 KB
Contents
<div class="runListWithControlsContainer <%= environment == @current_env ? 'active' : 'inactive' -%>" id="<%= environment %>"> <div class="sortable runListContainer"> <% run_list_class, empty_controls_class = run_list ? %w{active inactive} : %w{inactive active} -%> <ul class="ui-sortable connectedSortable runListItemList <%= run_list_class -%>" id="<%= environment %>"> <% Array(run_list).each do |item| %> <li id="<%=h(item)%>" class="<%= class_for_run_list_item(item) -%> runListItem"><%=h display_run_list_item(item)-%></li> <% end %> </ul> <div class="emptyRunListControlsContainer <%= empty_controls_class -%>" id="<%=environment -%>"> <div class="cloneRunListTitle">This role has no environment specific run list for the (<%= environment -%>) environment.</div> <div class="cloneRunListOption"> <a href="javascript:void(0)" class="createEmptyRunListControl" id="<%= environment -%>">Create a new empty run list</a> </div> <div class="cloneRunListOption"> Or, clone an existing run list: <%= select :environment_to_clone, :collection => @existing_run_list_environments, :id => environment, :class => 'environmentToClone' %> </div> </div> </div> <div class="runListAdditionalControls" id="<%= environment -%>"> <% if run_list && (environment != '_default')%> <a href="javascript:void(0);" class="deleteEnvRunList" id="<%= environment -%>">Remove environment specific run list for <%= environment %></a> <% end %> </div> </div>
Version data entries
86 entries across 86 versions & 1 rubygems