Finish task #45795.

This commit is contained in:
zhouxin
2021-12-10 06:07:26 +00:00
parent 134070a610
commit a4fd0775ad
+6 -3
View File
@@ -77,9 +77,12 @@ class design extends control
/* Print top and right actions. */
$this->lang->TRActions = '<div class="btn-toolbar pull-right">';
$this->lang->TRActions .= '<div class="btn-group">';
$this->lang->TRActions .= html::a($this->createLink('review', 'create', "projectID=$projectID"), "<i class='icon-plus'></i> {$this->lang->design->createReview}", '', "class='btn btn-secondary'");
$this->lang->TRActions .= '</div>';
if($this->config->maxVersion)
{
$this->lang->TRActions .= '<div class="btn-group">';
$this->lang->TRActions .= html::a($this->createLink('design', 'submit', "productID=$productID", '', true), "<i class='icon-plus'></i> {$this->lang->design->createReview}", '', "class='btn btn-secondary iframe'");
$this->lang->TRActions .= '</div>';
}
$this->lang->TRActions .= '<div class="btn-group dropdown">';
$this->lang->TRActions .= html::a(inlink('create', "projectID=$projectID&productID=$productID&type=$type"), "<i class='icon-plus'></i> {$this->lang->design->create}", '', "class='btn btn-primary'");
$this->lang->TRActions .= "<button type='button' class='btn btn-primary dropdown-toggle' data-toggle='dropdown'><span class='caret'></span>";