[damned-lies] [vertimus] Allow committers to set 'To commit' state when status is 'Translated'
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] [vertimus] Allow committers to set 'To commit' state when status is 'Translated'
- Date: Tue, 28 Sep 2010 06:48:17 +0000 (UTC)
commit 8aeaae563fa592c4c40a91222d28660207a99822
Author: Claude Paroz <claude 2xlibre net>
Date: Tue Sep 28 08:47:43 2010 +0200
[vertimus] Allow committers to set 'To commit' state when status is 'Translated'
vertimus/models.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vertimus/models.py b/vertimus/models.py
index f018c4a..a59c6ab 100644
--- a/vertimus/models.py
+++ b/vertimus/models.py
@@ -198,6 +198,9 @@ class StateTranslated(StateAbstract):
action_names.append('RT')
action_names.append('TR')
+ if person.is_committer(self.language.team):
+ action_names.append('TC')
+
return self._get_available_actions(person, action_names)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]