@@ -34,7 +36,7 @@
-
+
@@ -43,12 +45,40 @@
- title, 'class="form-control disabled story-title" disabled="disabled"');?> + title, 'class="form-control disabled story-title"' . (strpos('draft,changing', $story->status) !== false ? '' : ' disabled="disabled"'));?>
+ status) !== false):?> +
+
story->reviewers;?>
+
+
+ story->checkForceReview()):?> +
+ +
+
+ +
+ /> + +
+
+
+ +
+ +
+ +
+
+
+
story->legendSpec;?>
-
spec;?>
+
+ status) !== false ? html::textarea('spec', htmlSpecialString($story->spec), "rows='5' class='form-control'") : $story->spec;?> +
printExtendFields($story, 'div', 'position=left');?>
@@ -61,7 +91,15 @@ lastEditedDate); echo html::hidden('product', $story->product); - echo html::submitButton($lang->save); + if(strpos('draft,changing', $story->status) !== false) + { + echo html::commonButton($lang->save, "id='saveButton'", 'btn btn-primary btn-wide'); + echo html::commonButton($story->status == 'changing' ? $lang->story->doNotSubmit : $lang->story->saveDraft, "id='saveDraftButton'", 'btn btn-secondary btn-wide'); + } + else + { + echo html::submitButton($lang->save); + } if(!isonlybody()) echo html::backButton(); ?>
@@ -85,7 +123,7 @@ echo ""; echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story¤tModuleID=0&branch=$story->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'"); echo '  '; - echo html::a("javascript:void(0)", $lang->refresh, '', "class='refresh' onclick='loadProductModules($story->product)'"); + echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadProductModules($story->product)'"); echo ''; } ?> @@ -129,7 +167,7 @@