minor change to match up with ux revamp designs where message near save button changes depending on owners still required

This commit is contained in:
cptran777 2018-04-23 10:33:36 -07:00
parent 859627bcd2
commit 190cd105ee
2 changed files with 27 additions and 8 deletions

View File

@ -66,5 +66,6 @@
&__icon {
color: set-color(red, red5);
margin-right: 8px;
}
}

View File

@ -12,14 +12,16 @@
</section>
{{/if}}
<p class="dataset-author__required-count">
{{#if (eq showOwnership "hide")}}
<p class="dataset-author__required-count">
{{#if requiredMinNotConfirmed}}
Add <strong>{{ownersRequiredCount}}</strong> owner(s) with ID Type - <code>USER</code>
, Ownership Type - <code>Data Owner</code>, and who is also <code>Active</code>
{{/if}}
</p>
</p>
{{/if}}
{{#if (eq showOwnership "show")}}
@ -226,9 +228,25 @@
{{#if requiredMinNotConfirmed}}
<div class="dataset-authors-save-error">
<p>
{{fa-icon "times-circle-o" class="dataset-authors-save-error__icon"}}
{{#if (eq ownersRequiredCount 2)}}
Add at least 2 owners.
{{else}}
Add at least {{ownersRequiredCount}} more owner(s).
{{/if}}
</p>
</div>
{{/if}}
</div>
</section>
<p class="dataset-author__required-count">
{{#if requiredMinNotConfirmed}}
Add <strong>{{ownersRequiredCount}}</strong> owner(s) with ID Type - <code>USER</code>
, Ownership Type - <code>Data Owner</code>, and who is also <code>Active</code>
{{/if}}
</p>