Skip to content

Commit

Permalink
Add 'View Project' buttons to /mytasks and /theirTasks pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
george-thomas-hill committed Jul 29, 2020
1 parent 36abfe5 commit 03dbf93
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions views/mytasks.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<td>{{status}}</td>
<td>{{assignee_name}}</td>
<td>
<a href="/project/{{project_id}}">
<button type="button" class="btn btn-success">
View Project
</button>
</a>
<a href="/task/{{task_id}}">
<button type="button" class="btn btn-success">
View Task
Expand Down Expand Up @@ -111,6 +116,11 @@
<td>{{status}}</td>
<td>{{assignee_name}}</td>
<td>
<a href="/project/{{project_id}}">
<button type="button" class="btn btn-success">
View Project
</button>
</a>
<a href="/task/{{task_id}}">
<button type="button" class="btn btn-success">
View Task
Expand Down
10 changes: 10 additions & 0 deletions views/theirTasks.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<td>{{status}}</td>
<td>{{assignee_name}}</td>
<td>
<a href="/project/{{project_id}}">
<button type="button" class="btn btn-success">
View Project
</button>
</a>
<a href="/task/{{task_id}}">
<button type="button" class="btn btn-success">
View Task
Expand Down Expand Up @@ -111,6 +116,11 @@
<td>{{status}}</td>
<td>{{assignee_name}}</td>
<td>
<a href="/project/{{project_id}}">
<button type="button" class="btn btn-success">
View Project
</button>
</a>
<a href="/task/{{task_id}}">
<button type="button" class="btn btn-success">
View Task
Expand Down

0 comments on commit 03dbf93

Please sign in to comment.