Skip to content

Commit

Permalink
Added link for our original feature file.
Browse files Browse the repository at this point in the history
Also refactored other link names to give space for the new button
  • Loading branch information
baphled committed Jul 5, 2010
1 parent 1d2ab3b commit 9973979
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/common/panels/_feature.html.erb
@@ -1,5 +1,8 @@
<span id="panel" class="icons ui-widget ui-widget-content ui-corner-all">
<ul class="icons">
<li class="ui-state-default ui-corner-all">
<%= link_to "Original file", file_feature_path(feature), {:title => 'Save the original feature', :id => 'file-feature'} %>
</li>
<% if not feature.stories.blank? %>
<li class="ui-state-default ui-corner-all">
<%= link_to "Export", export_feature_path(feature), {:title => 'Export a feature', :id => 'export-feature'} %>
Expand All @@ -13,10 +16,10 @@
<%= link_to "Merge", merge_feature_path(feature), {:title => 'Merge a systems changes with the feature', :id => 'merge-changes'} %>
</li>
<li class="ui-state-default ui-corner-all">
<%= link_to "System Merge", system_merge_feature_path(feature), {:title => 'Merge a features changes with the system', :id => 'merge-system'} %>
<%= link_to "Sys Merge", system_merge_feature_path(feature), {:title => 'Merge a features changes with the system', :id => 'merge-system'} %>
</li>
<li class="ui-state-default ui-corner-all">
<%= link_to "Get Patch", feature_path(feature, :format => :patch), {:title => 'Patch a feature with the systems changes', :id => 'patch-changes'} %>
<%= link_to "Patch", feature_path(feature, :format => :patch), {:title => 'Patch a feature with the systems changes', :id => 'patch-changes'} %>
</li>
<% end %>
<li class="ui-state-default ui-corner-all">
Expand Down

0 comments on commit 9973979

Please sign in to comment.