Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
Added hideTotal setting to hide total score if wanted. Closes #123
Browse files Browse the repository at this point in the history
  • Loading branch information
rikkertkoppes committed Dec 20, 2014
1 parent e91f9f8 commit 88369df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/scoresheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2>Team &amp; round</h2>
</td>
</tr>
</table>
<div id="totalScore">
<div id="totalScore" ng-hide="settings.hideTotal">
Total score: {{score()}}
</div>
</section>
Expand Down Expand Up @@ -98,7 +98,7 @@ <h2>Team &amp; round</h2>
</td>
</tr>
</table>
<div id="totalScore">
<div id="totalScore" ng-hide="settings.hideTotal">
Total score: {{score()}}
</div>
</section>
Expand Down
4 changes: 4 additions & 0 deletions src/views/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<label for="">Table</label>
<input type="text" ng-model="settings.table">
</p>
<p>
<input id="hideTotal" type="checkbox" ng-model="settings.hideTotal">
<label for="hideTotal">Hide total score</label>
</p>
</div>
<div ng-show="tab === 2">
<p class="pull-right">
Expand Down

0 comments on commit 88369df

Please sign in to comment.