]> source.dussan.org Git - archiva.git/commitdiff
fix copy paste issue
authorOlivier Lamy <olamy@apache.org>
Wed, 28 Dec 2011 17:32:34 +0000 (17:32 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 28 Dec 2011 17:32:34 +0000 (17:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1225243 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html

index cffcae2624357ebcc84fa2db1d744fe8c1f1f2b6..7017e674419ae563a11177b5115b90adf8048adf 100644 (file)
   <div class="page-header">
     <h3>${$.i18n.prop('role.parents')}</h3>
   </div>
-  {{if childRoleNames}}
+  {{if parentRoleNames}}
     <ul>
-      {{if $.isArray(childRoleNames)}}
+      {{if $.isArray(parentRoleNames)}}
         {{each parentRoleNames}}
           <li>${$value}</li>
         {{/each}}
       {{else}}
-        <li>${childRoleNames}</li>
+        <li>${parentRoleNames}</li>
       {{/if}}
     </ul>
   {{/if}}