diff --git a/module/block/view/admin.html.php b/module/block/view/admin.html.php index 01a89a8f14..56746f92cf 100644 --- a/module/block/view/admin.html.php +++ b/module/block/view/admin.html.php @@ -40,7 +40,7 @@ include '../../common/view/chosen.html.php';
- +
diff --git a/module/bug/model.php b/module/bug/model.php index 7639a37186..9f7a1467f2 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -2422,7 +2422,7 @@ class bugModel extends model } break; case 'severity': - echo ""; + echo ""; break; case 'pri': echo ""; diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 30e3a559c5..48b604a899 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -107,7 +107,7 @@ bug->severity;?> - bug->severityList, $bug->severity);?>'>bug->severityList, $bug->severity)?> + severity;?>'>bug->severityList, $bug->severity)?> bug->pri;?> diff --git a/module/build/view/create.html.php b/module/build/view/create.html.php index bfe4b75ead..96b2000d26 100644 --- a/module/build/view/create.html.php +++ b/module/build/view/create.html.php @@ -75,7 +75,7 @@ - + diff --git a/module/build/view/edit.html.php b/module/build/view/edit.html.php index ff4adde391..56f99f8bf8 100644 --- a/module/build/view/edit.html.php +++ b/module/build/view/edit.html.php @@ -69,7 +69,7 @@ - + config->global->flow != 'onlyTest' ? html::hidden('project', $build->project) : '';?> diff --git a/module/common/view/customfield.html.php b/module/common/view/customfield.html.php index bd8df84bdc..702c2b1205 100644 --- a/module/common/view/customfield.html.php +++ b/module/common/view/customfield.html.php @@ -26,7 +26,7 @@
save);?> - cancel, '', "btn btn-gray close-dropdown");?> + cancel, '', "btn close-dropdown");?>
diff --git a/module/dept/view/browse.html.php b/module/dept/view/browse.html.php index 297015a2cb..6babe903c2 100644 --- a/module/dept/view/browse.html.php +++ b/module/dept/view/browse.html.php @@ -66,7 +66,7 @@ - + diff --git a/module/doc/model.php b/module/doc/model.php index c32deeda72..100157c26d 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -157,7 +157,7 @@ class docModel extends model if(isset($menu['link'])) { list($menuLabel, $module, $method, $vars) = explode('|', $menu['link']); - $actions .= html::a(helper::createLink($module, $method, $vars), $menuLabel, '', "class='btn btn-gray'"); + $actions .= html::a(helper::createLink($module, $method, $vars), $menuLabel, '', "class='btn'"); } } diff --git a/module/doc/view/browse.html.php b/module/doc/view/browse.html.php index ab485fb744..f877746312 100644 --- a/module/doc/view/browse.html.php +++ b/module/doc/view/browse.html.php @@ -40,8 +40,8 @@ var browseType = ''; diff --git a/module/doc/view/browsebygrid.html.php b/module/doc/view/browsebygrid.html.php index 379596f9a2..d20af49704 100644 --- a/module/doc/view/browsebygrid.html.php +++ b/module/doc/view/browsebygrid.html.php @@ -4,8 +4,8 @@
diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php index 86eb0f11f0..4336b72ef9 100644 --- a/module/doc/view/create.html.php +++ b/module/doc/view/create.html.php @@ -77,7 +77,7 @@ - + diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index 8064e4b0a7..6ccf23f233 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -74,7 +74,7 @@ - + diff --git a/module/doc/view/objectlibs.html.php b/module/doc/view/objectlibs.html.php index 511143d5d4..20cac33c9b 100644 --- a/module/doc/view/objectlibs.html.php +++ b/module/doc/view/objectlibs.html.php @@ -23,7 +23,7 @@ diff --git a/module/file/view/buildform.html.php b/module/file/view/buildform.html.php index 430f46b557..a2c107f71e 100644 --- a/module/file/view/buildform.html.php +++ b/module/file/view/buildform.html.php @@ -8,7 +8,7 @@
- +
diff --git a/module/group/view/manageview.html.php b/module/group/view/manageview.html.php index f598a4b599..78e822ebcc 100644 --- a/module/group/view/manageview.html.php +++ b/module/group/view/manageview.html.php @@ -65,7 +65,7 @@ - + diff --git a/module/group/view/privbygroup.html.php b/module/group/view/privbygroup.html.php index 7616851ab1..0d36b15c26 100644 --- a/module/group/view/privbygroup.html.php +++ b/module/group/view/privbygroup.html.php @@ -38,7 +38,7 @@ - + @@ -122,7 +122,7 @@ - + diff --git a/module/group/view/privbymodule.html.php b/module/group/view/privbymodule.html.php index a08bdd13dd..091d7a8c4d 100644 --- a/module/group/view/privbymodule.html.php +++ b/module/group/view/privbymodule.html.php @@ -42,7 +42,7 @@ - + diff --git a/module/product/view/batchedit.html.php b/module/product/view/batchedit.html.php index 06caec89ac..8f1a270edb 100755 --- a/module/product/view/batchedit.html.php +++ b/module/product/view/batchedit.html.php @@ -72,7 +72,7 @@ - + diff --git a/module/product/view/create.html.php b/module/product/view/create.html.php index df4613da93..47189f0a1f 100644 --- a/module/product/view/create.html.php +++ b/module/product/view/create.html.php @@ -84,7 +84,7 @@ - + diff --git a/module/product/view/edit.html.php b/module/product/view/edit.html.php index 6b62c9d0ac..403da55ade 100644 --- a/module/product/view/edit.html.php +++ b/module/product/view/edit.html.php @@ -73,7 +73,7 @@ - + diff --git a/module/productplan/view/batchedit.html.php b/module/productplan/view/batchedit.html.php index 73d2a5846d..baa4c55c3f 100644 --- a/module/productplan/view/batchedit.html.php +++ b/module/productplan/view/batchedit.html.php @@ -42,7 +42,7 @@ - + diff --git a/module/productplan/view/create.html.php b/module/productplan/view/create.html.php index 990e70a989..e1a890bca1 100644 --- a/module/productplan/view/create.html.php +++ b/module/productplan/view/create.html.php @@ -59,7 +59,7 @@ - + id);?> diff --git a/module/productplan/view/edit.html.php b/module/productplan/view/edit.html.php index 336f317116..fcb8384d4e 100644 --- a/module/productplan/view/edit.html.php +++ b/module/productplan/view/edit.html.php @@ -59,7 +59,7 @@ - + id);?> diff --git a/module/project/view/create.html.php b/module/project/view/create.html.php index a09442fed6..d825727c9e 100644 --- a/module/project/view/create.html.php +++ b/module/project/view/create.html.php @@ -138,7 +138,7 @@ - + diff --git a/module/project/view/edit.html.php b/module/project/view/edit.html.php index bc8469d1fc..b928c20b9f 100644 --- a/module/project/view/edit.html.php +++ b/module/project/view/edit.html.php @@ -145,7 +145,7 @@ project->whitelist;?> whitelist, '', '', 'inline');?> - +
diff --git a/module/release/view/create.html.php b/module/release/view/create.html.php index 5a35954310..7daf7a0979 100644 --- a/module/release/view/create.html.php +++ b/module/release/view/create.html.php @@ -50,7 +50,7 @@ - + diff --git a/module/release/view/edit.html.php b/module/release/view/edit.html.php index dae9757248..b860913653 100644 --- a/module/release/view/edit.html.php +++ b/module/release/view/edit.html.php @@ -58,7 +58,7 @@ - + product);?> diff --git a/module/search/view/buildform.html.php b/module/search/view/buildform.html.php index 7f7880602d..fd26071b73 100644 --- a/module/search/view/buildform.html.php +++ b/module/search/view/buildform.html.php @@ -211,7 +211,7 @@ foreach($fieldParams as $fieldName => $param) if($style != 'simple') { if(common::hasPriv('search', 'saveQuery')) echo html::a($this->createLink('search', 'saveQuery', "module=$module&onMenuBar=$onMenuBar"), $lang->save, '', "class='btn-save-form btn btn-secondary btn-wide'") . " "; - echo html::commonButton($lang->search->reset, 'onclick=resetForm(this)', 'btn-reset-form btn btn-gray btn-wide'); + echo html::commonButton($lang->search->reset, 'onclick=resetForm(this)', 'btn-reset-form btn btn-wide'); } echo html::commonButton('', '', 'btn-expand-form btn btn-info pull-right'); echo html::hidden('formType', 'lite'); diff --git a/module/story/js/batchedit.js b/module/story/js/batchedit.js index 864b39fb39..d4906bf19a 100644 --- a/module/story/js/batchedit.js +++ b/module/story/js/batchedit.js @@ -38,7 +38,14 @@ function loadBranches(product, branch, storyID) $('#plans' + storyID).parent('td').load(planLink, function(){$('#plans' + storyID).chosen(defaultChosenOptions);}); } -$(document).ready(removeDitto());//Remove 'ditto' in first row. +$(function() +{ + //Remove 'ditto' in first row. + removeDitto(); + + // Init bactch action form + $('#batchEditForm').batchActionForm(); +}); $(document).on('click', '.chosen-with-drop', function(){oldValue = $(this).prev('select').val();})//Save old value. diff --git a/module/story/view/batchclose.html.php b/module/story/view/batchclose.html.php index 6e38655985..d3edd397a7 100755 --- a/module/story/view/batchclose.html.php +++ b/module/story/view/batchclose.html.php @@ -56,7 +56,7 @@ - + diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php index 8924168820..3c5252dac1 100644 --- a/module/story/view/batchcreate.html.php +++ b/module/story/view/batchcreate.html.php @@ -90,9 +90,9 @@ - + save, '', 'btn btn-wide btn-primary');?> - + diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php index eb3f342cfb..7dceb1f76f 100644 --- a/module/story/view/batchedit.html.php +++ b/module/story/view/batchedit.html.php @@ -16,9 +16,6 @@

story->common . $lang->colon . $lang->story->batchEdit;?> - - icons['product']) . ' ' . $lang->story->product . $lang->colon . ' ' . $productName;?> -

createLink('custom', 'ajaxSaveCustomFields', 'module=story§ion=custom&key=batchEditFields')?> @@ -35,8 +32,8 @@ foreach(explode(',', $showFields) as $field) if($field)$visibleFields[$field] = ''; } ?> -
"> - +" id="batchEditForm"> +
@@ -82,31 +79,48 @@ foreach(explode(',', $showFields) as $field) - - - - + - + - + status == 'closed'):?> - diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index 7d5906c48e..b9399f37bc 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -186,7 +186,7 @@ diff --git a/module/task/model.php b/module/task/model.php index d4781968c6..6ffadc363f 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -2268,7 +2268,7 @@ class taskModel extends model } break; case 'pri': - echo ""; + echo ""; echo zget($this->lang->task->priList, $task->pri, $task->pri); echo ""; break; diff --git a/module/task/view/batchcreate.html.php b/module/task/view/batchcreate.html.php index f9c0e33ff1..e43ae048be 100644 --- a/module/task/view/batchcreate.html.php +++ b/module/task/view/batchcreate.html.php @@ -135,7 +135,7 @@ diff --git a/module/task/view/batchedit.html.php b/module/task/view/batchedit.html.php index c47af5bb03..9eef705605 100755 --- a/module/task/view/batchedit.html.php +++ b/module/task/view/batchedit.html.php @@ -111,7 +111,7 @@ diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 5ef8e92306..a96ae4d545 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -166,7 +166,7 @@
idAB;?>
' style='overflow:visible'> + '> id;?> type == 'normal') ? "disabled='disabled'" : '';?> branch, "class='form-control chosen' onchange='loadBranches($branchProductID, this.value, $storyID);' $disabled");?> ' style='overflow:visible'> + '> module, "class='form-control chosen'");?> ' style='overflow:visible'> + '> plan, "class='form-control chosen'");?> + + +
+
+ title, "class='form-control input-story-title' autocomplete='off'"); ?> + +
+ + + color, "class='colorpicker' data-wrapper='input-control-icon-right' data-icon='color' data-btn-tip='{$lang->story->colorTag}' data-update-color='#titles\\[{$storyID}\\]'");?> + +
+
+
>estimate, "class='form-control' autocomplete='off'"); ?> >pri, 'class=form-control');?>' style='overflow:visible'>assignedTo, "class='form-control chosen'");?>'>assignedTo, "class='form-control chosen'");?> >source, 'class=form-control');?> story->statusList[$story->status];?> >stage, 'class="form-control"' . ($story->status == 'draft' ? ' disabled="disabled"' : ''));?>' style='overflow:visible'>closedBy, "class='form-control" . ($story->status == 'closed' ? " chosen'" : "' disabled='disabled'"));?>'>closedBy, "class='form-control" . ($story->status == 'closed' ? " chosen'" : "' disabled='disabled'"));?> > @@ -133,9 +147,9 @@ foreach(explode(',', $showFields) as $field)
+ - +
- +
- +
- +
- +
diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index d7c8fdccbb..81c9faa221 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -83,7 +83,7 @@ - +