Skip to content
Permalink
Browse files

Moved 'Create New Project' button before the projects list.

  • Loading branch information...
Romain CABASSOT authored and vboctor committed Mar 27, 2017
1 parent e3b7b01 commit 378fba2c9bf4565a39f88d5cf722c5af18c9357f
Showing with 7 additions and 8 deletions.
  1. +7 −8 manage_proj_page.php
@@ -92,7 +92,13 @@
</div>
<div class="widget-body">
<div class="widget-main no-padding">

<div class="widget-toolbox padding-8 clearfix">
<?php
# Check the user's global access level before allowing project creation
if( access_has_global_level ( config_get( 'create_project_threshold' ) ) ) {
print_form_button( 'manage_proj_create_page.php', lang_get( 'create_new_project_link' ), null, null, 'btn btn-primary btn-white btn-round' );
} ?>
</div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
@@ -173,13 +179,6 @@
</table>
</div>
</div>
<div class="widget-toolbox padding-8 clearfix">
<?php
# Check the user's global access level before allowing project creation
if( access_has_global_level ( config_get( 'create_project_threshold' ) ) ) {
print_form_button( 'manage_proj_create_page.php', lang_get( 'create_new_project_link' ), null, null, 'btn btn-primary btn-white btn-round' );
} ?>
</div>
</div>
</div>

0 comments on commit 378fba2

Please sign in to comment.
You can’t perform that action at this time.