Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
taskListHeading displays only header, number of section automatically…
Browse files Browse the repository at this point in the history
… displayed by CSS (#106)
  • Loading branch information
yarpo authored Jul 13, 2018
1 parent e2295e6 commit 40fb757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions macros/task-list.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
</div>
{% endmacro %}

{% macro taskListHeading(number, heading) %}
<h2 class="task-list-heading">
<span class="task-number">{{ number }}.</span>
{{ heading }}
</h2>
{% macro taskListHeading(heading) %}
<h2 class="task-list-heading">{{ t(heading) }}</h2>
{% endmacro %}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/cmc-common-frontend",
"version": "1.49.0",
"version": "1.50.0",
"author": "HMCTS",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 40fb757

Please sign in to comment.