src/cm/templates/site/text_share.html
changeset 106 36165e7cd1f0
parent 89 1e91034f4cdb
child 438 fcc5e2f0befd
equal deleted inserted replaced
105:f2ba05546abc 106:36165e7cd1f0
    82             }) ;
    82             }) ;
    83             -->
    83             -->
    84             </script>
    84             </script>
    85             </th>
    85             </th>
    86             <th>{% up_down user__username %}{% blocktrans %}User{% endblocktrans %}{% endup_down %}</th>
    86             <th>{% up_down user__username %}{% blocktrans %}User{% endblocktrans %}{% endup_down %}</th>
    87             <th><a class="tip" href="#" title="{% blocktrans %}The 'Workspace role' is the global role that applies to every text, you can give a user a particular role on this text using the 'local role' column on the right{% endblocktrans %}">{% blocktrans %}Workspace role{% endblocktrans %}</a></th>
    87             <th><a class="tip" href="#" title="{% blocktrans %}The 'Workspace role' is the global role that applies to every text, you can give a user a particular role on this text using the 'text role' column on the right{% endblocktrans %}">{% blocktrans %}Workspace role{% endblocktrans %}</a></th>
    88             <th>{% up_down role__name %}{% blocktrans %}Local role{% endblocktrans %}{% endup_down %}</th>
    88             <th>{% up_down role__name %}{% blocktrans %}Text role{% endblocktrans %}{% endup_down %}</th>
    89         </tr>
    89         </tr>
    90     </thead>
    90     </thead>
    91     <tbody>
    91     <tbody>
    92     {% for userrole in object_list %}
    92     {% for userrole in object_list %}
    93     {% with userrole.user as user %}
    93     {% with userrole.user as user %}
    96         <td><input type="checkbox" class="user_check" name="check-{{ user.get_profile.key }}"/></td>
    96         <td><input type="checkbox" class="user_check" name="check-{{ user.get_profile.key }}"/></td>
    97         <td>
    97         <td>
    98 			{% include "site/macros/user_actions.html" %}
    98 			{% include "site/macros/user_actions.html" %}
    99         </td>
    99         </td>
   100         <td>
   100         <td>
   101         {% if userrole.role and user.get_profile.global_userrole.role %}<a class="tip" href="#" title="{% blocktrans with userrole.role.name_i18n as rolename %}This role has been overriden on this text by a local role: {{rolename}}{% endblocktrans %}">{% endif %}
   101         {% if userrole.role and user.get_profile.global_userrole.role %}<a class="tip" href="#" title="{% blocktrans with userrole.role.name_i18n as rolename %}This role has been overriden on this text by a text role: {{rolename}}{% endblocktrans %}">{% endif %}
   102         
   102         
   103         <span {% if userrole.role %}class="non_active"{% endif %}>
   103         <span {% if userrole.role %}class="non_active"{% endif %}>
   104         {% if user.get_profile.global_userrole.role %}{{ user.get_profile.global_userrole.role.name_i18n}}{% else %}-{% endif %}
   104         {% if user.get_profile.global_userrole.role %}{{ user.get_profile.global_userrole.role.name_i18n}}{% else %}-{% endif %}
   105         </span>
   105         </span>
   106         
   106