Changeset 645:0d5d80762f5f
- Timestamp:
- 06/22/09 14:54:27 (9 months ago)
- Author:
- Diego Búrigo Zacarão <diegobz@…>
- Branch:
- default
- Message:
-
bugfix: Checking proper permission for submitting a file #246
- Location:
- transifex/translations/templates
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r644
|
r645
|
|
| 37 | 37 | {% pofile_lock stat %} |
| 38 | 38 | {% if request.user.is_authenticated and perms.repowatch.add_watch and notices_url %}{% watch_toggle stat %}{% endif %} |
| 39 | | {% if request.user.is_authenticated and stat.object.allows_submission and perms.translations.add_pofilelock %} |
| | 39 | {% if request.user.is_authenticated and stat.object.allows_submission and perms.projects.submit_file %} |
| 40 | 40 | {% if file_edit_url %} |
| 41 | 41 | <a class="i16 edit_file nodecoration_icon" title="{% trans "Edit " %}{{stat.filename}}" href="{{file_edit_url}}"></a> |
-
|
r644
|
r645
|
|
| 49 | 49 | {% pofile_lock stat %} |
| 50 | 50 | {% if request.user.is_authenticated and perms.repowatch.add_watch and notices_url %}{% watch_toggle stat %}{% endif %} |
| 51 | | {% if request.user.is_authenticated and stat.object.allows_submission and perms.translations.add_pofilelock %} |
| | 51 | {% if request.user.is_authenticated and stat.object.allows_submission and perms.projects.submit_file %} |
| 52 | 52 | {% if file_edit_url %} |
| 53 | 53 | <a class="i16 edit_file nodecoration_icon" title="{% trans "Edit " %}{{stat.filename}}" href="{{file_edit_url}}"></a> |
-
|
r644
|
r645
|
|
| 42 | 42 | {% pofile_lock stat %} |
| 43 | 43 | {% if request.user.is_authenticated and perms.repowatch.add_watch and notices_url %}{% watch_toggle stat %}{% endif %} |
| 44 | | {% if request.user.is_authenticated and stat.object.allows_submission and perms.translations.add_pofilelock %} |
| | 44 | {% if request.user.is_authenticated and stat.object.allows_submission and perms.projects.submit_file %} |
| 45 | 45 | {% if file_edit_url %} |
| 46 | 46 | <a class="i16 edit_file nodecoration_icon" title="{% trans "Edit " %}{{stat.filename}}" href="{{file_edit_url}}"></a> |