File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- json-schema-for-humans == 1.3.4
1+ json-schema-for-humans == 1.5.1
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ <h2 class="mb-0">
1515 </ em >
1616 {%- endif -%}
1717 {%- if sub_property.is_required_property -%}
18- {{ " " }}< span class ="badge required-property "> Required</ span >
18+ {{ " " }}< span class ="badge badge-warning required-property "> Required</ span >
1919 {%- endif -%}
20- {%- if sub_property is deprecated -%}
21- {{ " " }}< span class ="badge deprecated-property "> Deprecated</ span >
20+ {%- if sub_property is deprecated or sub_property.kw_deprecated -%}
21+ {{ " " }}< span class ="badge badge-danger deprecated-property "> Deprecated</ span >
2222 {%- endif -%}
2323 {%- if sub_property.is_pattern_property -%}
24- {{ " " }}< span class ="badge pattern-property "> Pattern Property</ span >
24+ {{ " " }}< span class ="badge badge-info pattern-property "> Pattern Property</ span >
2525 {%- endif -%}
2626 </ button >
2727 </ h2 >
@@ -35,7 +35,7 @@ <h2 class="mb-0">
3535 < h2 class ="handle ">
3636 < label > Pattern Property</ label >
3737 </ h2 >
38- < p > All property whose name matches the following regular expression must respect the following conditions</ p >
38+ < p > All properties whose name matches the following regular expression must respect the following conditions</ p >
3939 < span class ="pattern-value "> Property name regular expression: < code > {{ sub_property.property_name | escape }}</ code > </ span >
4040 < br />
4141 {%- endif -%}
@@ -52,4 +52,4 @@ <h2 class="handle">
5252 </ div >
5353 </ div >
5454 </ div >
55- </ div >
55+ </ div >
You can’t perform that action at this time.
0 commit comments