[Frontend] Added dynamic plurality to "author" field label

WTD-1036
If licenses/author node in *bundle.json includes a comma,
display authors instead of author as the label
This commit is contained in:
Charles Hacskaylo 2015-04-15 17:46:11 -07:00
parent b6503489b9
commit b4cabbb4af

View File

@ -10,7 +10,7 @@
<h3><a target="_blank" ng-href="{{license.website}}">{{license.name}}</a></h3>
<p>
<em>Version</em> {{license.version}}
<em>&nbsp;|&nbsp;Author</em> {{license.author}}
<em>&nbsp;|&nbsp;Author<span ng-show="license.author.indexOf(',') > 0">s</span></em> {{license.author}}
<em>&nbsp;|&nbsp;Description</em> {{license.description}}
</p>
<em>License</em>