Sha256: fcaa18d10d6b8da3b7ec941ac4f0b67d9d05bd8d92130b7c69d62a888335c8f4

Contents?: true

Size: 1.6 KB

Versions: 3

Compression:

Stored size: 1.6 KB

Contents

<script><!--

function executeOnLoad() {
<% @scms.each do |scm| %>
  <%= scm.short %>_init();
<% end %>
  tab = "<%= @params['tab'] || 'tabs[0]' %>"
  setTab(tab)
}

tabs = ["projects", "scms", "publishers", "trackers"]

// -->
</script>

<ul id="foldertab">
  <li><a href="javascript:setTab('projects')"><img src="/images/16x16/wrench.png"> General</a></li>
  <li><a href="javascript:setTab('scms')"><img src="/images/16x16/safe.png"> Source Control</a></li>
  <li><a href="javascript:setTab('publishers')"><img src="/images/megaphone.png"> Publishers</a></li>
  <li><a href="javascript:setTab('trackers')"><img src="/images/16x16/scroll_information.png"> Issue Tracker</a></li>
</ul>

<% if(@edit) %>
<form name="project_form" action="/project/save">
<% end %>

<div id="projects" style="display:block">
  <%= render_partial("project", @project) %>
</div>

<div id="scms" style="display:none">
  <p>
  If you don't find your SCM here, file a feature request in DamageControl's 
  <a href="http://damagecontrol.codehaus.org/">JIRA</a>.
  </p>
  <p>
  Or better - <a href="http://rscm.rubyforge.org/">implement it yourself</a>.
  </p>
  
  <%= select_pane("Source Control", "scms", @scms) %>
</div>

<div id="publishers" style="display:none">
Publishers give feedback of the results of a build. Publishers run after a build is executed. 
  <%= tab_pane("publishers", @project.publishers) %>
</div>

<div id="trackers" style="display:none">
  <%= select_pane("Issue Trackers", "trackers", @trackers) %>
</div>

<% if(@edit) %>
  <input type="submit" value="Save"/>
  
</form>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
damagecontrol-0.5.0.1393 app/views/project/view.rhtml
damagecontrol-0.5.0.1391 app/views/project/view.rhtml
damagecontrol-0.5.0.1392 app/views/project/view.rhtml