Skip to content

Commit efc346d

Browse files
committed
#156 Add the task title field back to task details page
1 parent 9c5c12b commit efc346d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

ui/app/views/directives/updatable-text.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<span ng-if="!updatable.updating" ng-init="active = false" ng-mouseenter="active = true" ng-mouseleave="active = false">
22
<span ng-if="value.length > 0">
33
<small>
4-
<a style="cursor: pointer;" uib-tooltip="edit">
5-
<i class="glyphicon glyphicon-pencil" ng-click="edit()"></i>
4+
<a href class="clickable" uib-tooltip="edit" ng-click="edit()">
5+
<i class="glyphicon glyphicon-pencil"></i>
66
</a>
77
</small>
88
<!-- <span btf-markdown="value"></span> -->
@@ -13,8 +13,8 @@
1313
<em>Not specified</em>
1414
</span>
1515
<small ng-show="active">
16-
<a href class="clickable" uib-tooltip="edit">
17-
<i class="glyphicon glyphicon-pencil" ng-click="edit()"></i>
16+
<a href class="clickable" uib-tooltip="edit" ng-click="edit()">
17+
<i class="glyphicon glyphicon-pencil"></i>
1818
</a>
1919
</small>
2020
</span>

ui/app/views/partials/case/case.tasks.item.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ <h4 class="mb-xs text-primary">
2424
</div>
2525
</h4>
2626

27+
<dl class="dl-horizontal">
28+
<dt class="pull-left">Title</dt>
29+
<dd>
30+
<updatable-simple-text on-update="updateField('title', newValue)" value="task.title"/>
31+
</dd>
32+
</dl>
33+
2734
<dl class="dl-horizontal">
2835
<dt class="pull-left">Owner</dt>
2936
<dd>

0 commit comments

Comments
 (0)