##// END OF EJS Templates
remove width and height from repository stats embed tags (#1983, #13486)...
Toshi MARUYAMA -
r11616:5ef5b3202d79
parent child
Show More
@@ -1,20 +1,20
1 <h2><%= l(:label_statistics) %></h2>
1 <h2><%= l(:label_statistics) %></h2>
2
2
3 <p>
3 <p>
4 <%= tag("embed", :width => 800, :height => params[:height_commits_per_month],
4 <%= tag("embed",
5 :type => "image/svg+xml", :src => url_for(:controller => 'repositories',
5 :type => "image/svg+xml", :src => url_for(:controller => 'repositories',
6 :action => 'graph', :id => @project,
6 :action => 'graph', :id => @project,
7 :repository_id => @repository.identifier_param,
7 :repository_id => @repository.identifier_param,
8 :graph => "commits_per_month")) %>
8 :graph => "commits_per_month")) %>
9 </p>
9 </p>
10 <p>
10 <p>
11 <%= tag("embed", :width => 800, :height => params[:height_commits_per_author],
11 <%= tag("embed",
12 :type => "image/svg+xml", :src => url_for(:controller => 'repositories',
12 :type => "image/svg+xml", :src => url_for(:controller => 'repositories',
13 :action => 'graph', :id => @project,
13 :action => 'graph', :id => @project,
14 :repository_id => @repository.identifier_param,
14 :repository_id => @repository.identifier_param,
15 :graph => "commits_per_author")) %>
15 :graph => "commits_per_author")) %>
16 </p>
16 </p>
17
17
18 <p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
18 <p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
19
19
20 <% html_title(l(:label_repository), l(:label_statistics)) -%>
20 <% html_title(l(:label_repository), l(:label_statistics)) -%>
General Comments 0
You need to be logged in to leave comments. Login now