Skip to content

Commit

Permalink
Rename graph pages + adjust alignment of submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Jul 9, 2016
1 parent 12109f6 commit 87a2aa8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 19 deletions.
10 changes: 5 additions & 5 deletions plugins/MantisGraph/MantisGraph.php
Expand Up @@ -120,11 +120,11 @@ function summary_submenu() {
$t_icon_path = config_get( 'icon_path' );
return array(
'<a class="btn btn-sm btn-primary btn-white" href="' . helper_mantis_url( 'summary_page.php' ) . '"> <i class="fa fa-table"></i> ' . plugin_lang_get( 'synthesis_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'summary_graph_imp_status.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'status_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'summary_graph_imp_priority.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'priority_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'summary_graph_imp_severity.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'severity_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'summary_graph_imp_category.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'category_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'summary_graph_imp_resolution.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'resolution_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'status_graph.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'status_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'priority_graph.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'priority_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'severity_graph.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'severity_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'category_graph.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'category_link' ) . '</a>',
'<a class="btn btn-sm btn-primary btn-white" href="' . plugin_page( 'resolution_graph.php' ) . '"> <i class="fa fa-bar-chart"></i> ' . plugin_lang_get( 'resolution_link' ) . '</a>',
);
}
}
Expand Up @@ -34,8 +34,6 @@
layout_page_begin( 'summary_page.php' );

print_summary_menu( 'summary_page.php' );

echo '<br />';
print_summary_submenu();

$t_series_name = lang_get( 'bugs' );
Expand Down
Expand Up @@ -34,8 +34,6 @@
layout_page_begin( 'summary_page.php' );

print_summary_menu( 'summary_page.php' );
echo '<br />';

print_summary_submenu();

$t_series_name = lang_get( 'bugs' );
Expand Down
Expand Up @@ -34,8 +34,6 @@
layout_page_begin( 'summary_page.php' );

print_summary_menu( 'summary_page.php' );

echo '<br />';
print_summary_submenu();

$t_series_name = lang_get( 'bugs' );
Expand Down
Expand Up @@ -33,7 +33,6 @@
layout_page_begin( 'summary_page.php' );

print_summary_menu( 'summary_page.php' );
echo '<br />';
print_summary_submenu();

$t_series_name = lang_get( 'bugs' );
Expand Down
Expand Up @@ -32,8 +32,6 @@
layout_page_begin( 'summary_page.php' );

print_summary_menu( 'summary_page.php' );

echo '<br />';
print_summary_submenu();

$t_series_name = lang_get( 'bugs' );
Expand Down
7 changes: 2 additions & 5 deletions summary_page.php
Expand Up @@ -124,12 +124,9 @@

layout_page_begin( __FILE__ );

?>

<?php
print_summary_menu( 'summary_page.php' );

print_summary_submenu(); ?>
print_summary_submenu();
?>

<div class="col-md-12 col-xs-12">
<div class="space-10"></div>
Expand Down

0 comments on commit 87a2aa8

Please sign in to comment.