From 94ba06cf2ab6732bab813cefa609d43d8f8bd5e5 Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Thu, 22 Jul 2021 10:23:28 +0800 Subject: [PATCH] * Finish task#40511. --- module/program/control.php | 2 +- module/program/view/browse.html.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/program/control.php b/module/program/control.php index 7a34ecacb6..e544b5b0e6 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -28,7 +28,7 @@ class program extends control */ public function browse($status = 'all', $orderBy = 'order_asc') { - if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), " " . $this->lang->program->create, '', "class='btn btn-secondary'"); + if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "" . $this->lang->program->create, '', "class='btn btn-primary'"); $this->session->set('programList', $this->app->getURI(true), 'program'); $this->session->set('projectList', $this->app->getURI(true), 'project'); diff --git a/module/program/view/browse.html.php b/module/program/view/browse.html.php index fc2901a957..3059e465f2 100644 --- a/module/program/view/browse.html.php +++ b/module/program/view/browse.html.php @@ -26,12 +26,12 @@ $lang->program->showClosed), '', $this->cookie->showClosed ? 'checked=checked' : '');?>
- pageActions)) echo $lang->pageActions;?> config->maxVersion)):?> - ' . $lang->project->create, '', 'class="btn btn-primary" data-toggle="modal" data-target="#guideDialog"');?> + ' . $lang->project->create, '', 'class="btn btn-secondary" data-toggle="modal" data-target="#guideDialog"');?> config->systemMode == 'new'):?> - ' . $lang->project->create, '', 'class="btn btn-primary"');?> + ' . $lang->project->create, '', 'class="btn btn-secondary"');?> + pageActions)) echo $lang->pageActions;?>
@@ -44,7 +44,7 @@
-