* Fix program product and project details.

This commit is contained in:
Yagami
2021-01-07 13:35:27 +08:00
parent 006dfcc733
commit 098fc50cc0
10 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ class programModel extends model
*/
public function getPGMMainAction()
{
return common::hasPriv('program', 'pgmbrowse') ? html::a(helper::createLink('program', 'pgmbrowse'), $this->lang->program->morePGM, '', "class='btn btn-link'") : '';
return common::hasPriv('program', 'pgmbrowse') ? html::a(helper::createLink('program', 'pgmbrowse'), $this->lang->moreLink, '', "class='btn btn-link'") : '';
}
/**
@@ -813,7 +813,7 @@ class programModel extends model
public function getPRJMainAction($module, $method)
{
if($module == 'program' and $method != 'index') return '';
return common::hasPriv('program', 'prjbrowse') ? html::a(helper::createLink('program', 'prjbrowse'), $this->lang->program->morePRJ, '', "class='btn btn-link'") : '';
return common::hasPriv('program', 'prjbrowse') ? html::a(helper::createLink('program', 'prjbrowse'), $this->lang->moreLink, '', "class='btn btn-link'") : '';
}
/**