Commit e8b5328f61fbd51415ab0b9d30083dffa5b8cac6

Authored by Rafael Manzo
1 parent 2606843e

Link to get back to parent module

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/views/repositories/show.html.erb
... ... @@ -51,6 +51,9 @@
51 51 <strong>Grade:</strong>
52 52 <%= format_grade(@root_module_result.grade) %>
53 53 </p>
  54 + <% unless @root_module_result.parent_id.nil? %>
  55 + <p><%= link_to '../', project_repository_module_path(@repository.project_id, @repository.id, @root_module_result.parent_id) %></p>
  56 + <% end %>
54 57 <% children = @root_module_result.children %>
55 58 <% unless children.empty? %>
56 59 <table class="table table-hover">
... ...