Skip to content

Commit

Permalink
#156 Add the task title field back to task details page
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jul 4, 2017
1 parent 9c5c12b commit efc346d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/app/views/directives/updatable-text.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<span ng-if="!updatable.updating" ng-init="active = false" ng-mouseenter="active = true" ng-mouseleave="active = false">
<span ng-if="value.length > 0">
<small>
<a style="cursor: pointer;" uib-tooltip="edit">
<i class="glyphicon glyphicon-pencil" ng-click="edit()"></i>
<a href class="clickable" uib-tooltip="edit" ng-click="edit()">
<i class="glyphicon glyphicon-pencil"></i>
</a>
</small>
<!-- <span btf-markdown="value"></span> -->
Expand All @@ -13,8 +13,8 @@
<em>Not specified</em>
</span>
<small ng-show="active">
<a href class="clickable" uib-tooltip="edit">
<i class="glyphicon glyphicon-pencil" ng-click="edit()"></i>
<a href class="clickable" uib-tooltip="edit" ng-click="edit()">
<i class="glyphicon glyphicon-pencil"></i>
</a>
</small>
</span>
Expand Down
7 changes: 7 additions & 0 deletions ui/app/views/partials/case/case.tasks.item.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ <h4 class="mb-xs text-primary">
</div>
</h4>

<dl class="dl-horizontal">
<dt class="pull-left">Title</dt>
<dd>
<updatable-simple-text on-update="updateField('title', newValue)" value="task.title"/>
</dd>
</dl>

<dl class="dl-horizontal">
<dt class="pull-left">Owner</dt>
<dd>
Expand Down

0 comments on commit efc346d

Please sign in to comment.