Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 deletions
|
@ -0,0 +1,44 @@
|
|||
h2 = l(:label_statistics)
|
||||
|
||||
#statistics-tabs
|
||||
ul
|
||||
li
|
||||
a href="#statistics-global"
|
||||
= l(:label_repository_statistics_global)
|
||||
li
|
||||
a href="#statistics-commits"
|
||||
= l(:label_repository_statistics_commits)
|
||||
li
|
||||
a href="#statistics-contributors"
|
||||
= l(:label_repository_statistics_contributors)
|
||||
#statistics-global
|
||||
= render 'repositories/statistics/global', repository: @repository
|
||||
#statistics-commits
|
||||
= render 'repositories/statistics/commits', repository: @repository
|
||||
#statistics-contributors
|
||||
= render 'repositories/statistics/contributors', repository: @repository
|
||||
|
||||
.clear-both style="margin: 10px;"
|
||||
|
||||
p = link_to l(:button_back), action: 'show', id: @project
|
||||
|
||||
- html_title(l(:label_repository), l(:label_statistics))
|
||||
|
||||
- content_for :header_tags do
|
||||
= bootstrap_load_base
|
||||
= javascript_include_tag('highcharts/highcharts', plugin: 'redmine_git_hosting')
|
||||
= javascript_include_tag('highcharts/modules/drilldown', plugin: 'redmine_git_hosting')
|
||||
= stylesheet_link_tag 'application', plugin: 'redmine_git_hosting'
|
||||
= javascript_include_tag 'set_highcharts', plugin: 'redmine_git_hosting'
|
||||
|
||||
- charts = @author_charts.map { |chart| 'createZoomableAreaChart(' + chart + ');' }
|
||||
javascript:
|
||||
$(document).ready(function() {
|
||||
createAreaChart(chart_commits_per_month);
|
||||
createZoomableAreaChart(chart_commits_per_day);
|
||||
createBarChart(chart_commits_per_hour);
|
||||
createPieChart(chart_commits_per_weekday);
|
||||
#{raw charts.join("\n")}
|
||||
createColumnChart(chart_commits_per_author);
|
||||
$("#statistics-tabs").tabs();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue