+ id;?> + createLink('story', 'view', "storyID=$story->id"), $story->title);?> + arrow . $lang->story->activate;?> +
++
diff --git a/module/product/css/dynamic.css b/module/product/css/dynamic.css new file mode 100644 index 0000000000..f46372e157 --- /dev/null +++ b/module/product/css/dynamic.css @@ -0,0 +1,20 @@ +#dynamics {padding: 10px 0;} +.dynamic {position: relative; padding-left: 170px;} +.dynamic-date {position: absolute; left: 0; top: 0; width: 150px; border: 2px solid #eee; border-radius: 4px; padding: 14px 20px; height: 58px;} +.dynamic-date:before {content: ' '; display: block; position: absolute; right: -22px; top: 26px; height: 2px; width: 20px; background-color: #eee;} +.dynamic-date > .date-label, +.dynamic-date > .date-text {font-size: 18px; display: block;} +.dynamic-date > .date-label + .date-text {font-size: 14px; line-height: 14px;} +.dynamic-date > .date-label {margin-top: -8px;} +.dynamic-date > .btn {position: absolute; right: 10px; top: 15px;} +.dynamic .timeline {border: 2px solid #eee; border-radius: 4px; margin-bottom: 20px; padding: 10px 20px 10px 100px; max-height: 800px; transition: max-height .2s; overflow: hidden;} +.dynamic .timeline-tag {left: -75px; font-size: 14px; color: #838A9D;} +.dynamic .timeline-text {color: #3C4353;} +.dynamic .text-muted {color: #838A9D;} +.dynamic .label-id {top: -1px;} +.dynamic.active .timeline, +.dynamic.active .dynamic-date {border-color: #00a9fc;} +.dynamic.active .dynamic-date:before {background-color: #00a9fc;} +.dynamic.collapsed .timeline {max-height: 58px;} +.dynamic.collapsed .timeline > li + li:after {display: none;} +.dynamic.collapsed .dynamic-btn > .icon:before {content: '\f0d7';} diff --git a/module/search/control.php b/module/search/control.php index f5f952177a..350be9d45f 100644 --- a/module/search/control.php +++ b/module/search/control.php @@ -106,6 +106,13 @@ class search extends control $query = $queryID ? $queryID : ''; $module = empty($module) ? $this->session->searchParams['module'] : $module; $queries = $this->search->getQueryPairs($module); - die(html::select('queryID', $queries, $query, 'onchange=executeQuery(this.value) class=form-control')); + + $html = ''; + foreach($queries as $queryID => $queryName) + { + if(empty($queryID)) continue; + $html .= html::a("###", $queryName . (common::hasPriv('search', 'deleteQuery') ? '' : ''), '', "class='label user-query' data-query-id='$queryID'"); + } + die($html); } } diff --git a/module/search/model.php b/module/search/model.php index 971285173e..7c970fff9e 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -322,6 +322,7 @@ class searchModel extends model public function deleteQuery($queryID) { $this->dao->delete()->from(TABLE_USERQUERY)->where('id')->eq($queryID)->andWhere('account')->eq($this->app->user->account)->exec(); + die('success'); } /** diff --git a/module/search/view/buildform.html.php b/module/search/view/buildform.html.php index 79da96a361..ecd9545efc 100644 --- a/module/search/view/buildform.html.php +++ b/module/search/view/buildform.html.php @@ -193,6 +193,7 @@ foreach($fieldParams as $fieldName => $param)
| bug->id;?> | +bug->id;?> | bug->title;?> | -bug->status;?> | +bug->status;?> | bug->openedBy;?> | bug->resolvedBy;?> | bug->resolution;?> | diff --git a/module/story/view/batchclose.html.php b/module/story/view/batchclose.html.php index 6dc947cbec..9e5a0d5849 100755 --- a/module/story/view/batchclose.html.php +++ b/module/story/view/batchclose.html.php @@ -11,53 +11,56 @@ */ ?> -
|---|