Skip to content

Commit

Permalink
[webui] Don't show the add_service link until it's actually implement…
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel authored and coolo committed Nov 8, 2012
1 parent 4c2371d commit 778d24b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/webui/app/views/package/_services.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<!-- Service elements -->
<% if @services || @package.can_edit?( @user )%>
<% if @services %>
<h3>Source Services</h3>

<% unless @services.blank? %>
Expand All @@ -27,9 +27,12 @@
<% if @package.can_edit?( @user ) %>
<p>
<!-- FIXME -->
<% if false %>
<%= link_to(sprite_tag('cog_add'), {:action => :add_service, :project => @project, :package => @package}, :remote => true) %>
<%= link_to('Add service for source processing', {:action => :add_service, :project => @project, :package => @package}, :remote => true) %>
<% end %>
<%= link_to sprite_tag('cog_go'), {:action => :execute_services, :project => @project, :package => @package },
{:confirm => "Execute all services now?", :method => :post } unless @services.blank? %>
<%= link_to 'Run services now', {:action => :execute_services, :project => @project, :package => @package },
Expand Down

0 comments on commit 778d24b

Please sign in to comment.