Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored to change how the source file link is presented
- Loading branch information
Showing
4 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<b>Title: </b><%= feature.title %><br/> | ||
<b>Created at: </b><%= feature.creation_date %><br/> | ||
<% if not feature.path.nil? %> | ||
<b>Path: </b><%= link_to "#{feature.path}", file_feature_path(feature), {:title => 'Save the original feature', :id => 'file-feature'} %> | ||
<%= link_to "view source file", file_feature_path(feature), {:title => 'Save the original feature', :id => 'file-feature'} %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters