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

Commit

Permalink
ROC-3719: Add support for table row top border (#105)
Browse files Browse the repository at this point in the history
* Add support for table row top border

* Update version name
  • Loading branch information
sabahirfan authored Jul 9, 2018
1 parent d3a30d3 commit e2295e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions macros/table.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</fieldset>
{% endmacro %}

{% macro row(label, value, changeLink, bottomBorder = true, bold = false) %}
<div class="{% if bottomBorder %}bottom-border{% else %}no-bottom-border{% endif %}">
{% macro row(label, value, changeLink, bottomBorder = true, bold = false, topBorder = false) %}
<div class="{% if topBorder %}top-border {% else %}no-top-border {% endif %} {% if bottomBorder %} bottom-border{% else %} no-bottom-border{% endif %}">
<div class="column-one-quarter {% if not label %}if-empty{% endif %}">
<span {% if bold %}class="form-label-bold"{% endif %}>{{ t( label ) }}</span>
</div>
Expand Down
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.48.0",
"version": "1.49.0",
"author": "HMCTS",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit e2295e6

Please sign in to comment.