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 { &__icon {
color: set-color(red, red5); color: set-color(red, red5);
margin-right: 8px;
} }
} }

View File

@ -12,6 +12,7 @@
</section> </section>
{{/if}} {{/if}}
{{#if (eq showOwnership "hide")}}
<p class="dataset-author__required-count"> <p class="dataset-author__required-count">
{{#if requiredMinNotConfirmed}} {{#if requiredMinNotConfirmed}}
@ -20,6 +21,7 @@
{{/if}} {{/if}}
</p> </p>
{{/if}}
{{#if (eq showOwnership "show")}} {{#if (eq showOwnership "show")}}
@ -226,9 +228,25 @@
{{#if requiredMinNotConfirmed}} {{#if requiredMinNotConfirmed}}
<div class="dataset-authors-save-error"> <div class="dataset-authors-save-error">
<p>
{{fa-icon "times-circle-o" class="dataset-authors-save-error__icon"}} {{fa-icon "times-circle-o" class="dataset-authors-save-error__icon"}}
{{#if (eq ownersRequiredCount 2)}}
Add at least 2 owners. Add at least 2 owners.
{{else}}
Add at least {{ownersRequiredCount}} more owner(s).
{{/if}}
</p>
</div> </div>
{{/if}} {{/if}}
</div> </div>
</section> </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>