Commit c07e75fa authored by Michal Čihař's avatar Michal Čihař

Better variable name

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 67068330
......@@ -114,7 +114,7 @@
{% endif %}
{% if perms.trans.lock_subproject and object.is_git_lockable %}
{% if perms.trans.lock_subproject and object.is_lockable %}
{% if object.is_git_locked %}
<tr>
<td>
......
......@@ -200,7 +200,7 @@ class Project(models.Model, PercentMixin, URLMixin, PathMixin):
objects = ProjectManager()
is_git_lockable = True
is_lockable = True
class Meta(object):
ordering = ['name']
......
......@@ -238,7 +238,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
objects = SubProjectManager()
is_git_lockable = True
is_lockable = True
class Meta(object):
ordering = ['project__name', 'name']
......
......@@ -141,7 +141,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
objects = TranslationManager()
is_git_lockable = False
is_lockable = False
class Meta(object):
ordering = ['language__name']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment