view .svn/pristine/cd/cd674353ec11ce3e47c106792aeb680957571d71.svn-base @ 1119:22d81bd0b62c redmine-2.2-integration

Deleted existing the embedded plugin and replaced it witgh redmine_embedded (same functionality, but upgraded to be compatible with Redmine 2.x).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 14:43:04 +0000
parents cbb26bc654de
children
line wrap: on
line source
<% content_for :header_tags do %>
  <%= javascript_include_tag 'repository_navigation' %>
<% end %>

<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>

<% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>
  <!-- Branches Dropdown -->
  <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>
    | <%= l(:label_branch) %>: 
    <%= select_tag :branch, options_for_select([''] + @repository.branches,@rev), :id => 'branch' %>
  <% end -%>

  <% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
    | <%= l(:label_tag) %>: 
    <%= select_tag :tag, options_for_select([''] + @repository.tags,@rev), :id => 'tag' %>
  <% end -%>

  | <%= l(:label_revision) %>: 
  <%= text_field_tag 'rev', @rev, :size => 8 %>
<% end -%>