meeting minutes: translate state, improve layout
This commit is contained in:
parent
0a72c9bda9
commit
095fd9b032
4 changed files with 23 additions and 5 deletions
Binary file not shown.
|
@ -3,7 +3,7 @@ msgstr ""
|
||||||
|
|
||||||
"Project-Id-Version: $Id$\n"
|
"Project-Id-Version: $Id$\n"
|
||||||
"POT-Creation-Date: 2007-05-22 12:00 CET\n"
|
"POT-Creation-Date: 2007-05-22 12:00 CET\n"
|
||||||
"PO-Revision-Date: 2012-05-06 12:00 CET\n"
|
"PO-Revision-Date: 2012-05-08 12:00 CET\n"
|
||||||
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
||||||
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -278,6 +278,12 @@ msgstr "Aufgabe"
|
||||||
msgid "Who/When"
|
msgid "Who/When"
|
||||||
msgstr "Wer? Bis wann?"
|
msgstr "Wer? Bis wann?"
|
||||||
|
|
||||||
|
msgid "Who?"
|
||||||
|
msgstr "Wer?"
|
||||||
|
|
||||||
|
msgid "When?"
|
||||||
|
msgstr "Wann?"
|
||||||
|
|
||||||
msgid "Favorites"
|
msgid "Favorites"
|
||||||
msgstr "Lesezeichen"
|
msgstr "Lesezeichen"
|
||||||
|
|
||||||
|
|
|
@ -18,17 +18,24 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th i18n:translate=""
|
<th i18n:translate=""
|
||||||
style="border: 1px solid grey">Task/Action</th>
|
style="border: 1px solid grey">Task/Action</th>
|
||||||
<th colspan="3" style="border: 1px solid grey"
|
<th style="border: 1px solid grey"
|
||||||
i18n:translate="">Who/When</th>
|
i18n:translate="">Who?</th>
|
||||||
|
<th style="border: 1px solid grey"
|
||||||
|
i18n:translate="">When?</th>
|
||||||
|
<th style="border: 1px solid grey"
|
||||||
|
i18n:translate=""></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tal:task repeat="row results">
|
<tal:task repeat="row results">
|
||||||
<tr tal:repeat="colname python: ('title', 'description',)">
|
<tr tal:repeat="colname python: ('title', 'description',)">
|
||||||
<td colspan="4" style="border: 1px solid grey"
|
<td style="border: 1px solid grey"
|
||||||
tal:define="col report/fields/?colname"
|
tal:define="col report/fields/?colname"
|
||||||
tal:attributes="class col/cssClass">
|
tal:attributes="class col/cssClass">
|
||||||
<metal:column use-macro="python:
|
<metal:column use-macro="python:
|
||||||
reportView.getColumnRenderer(col)" />
|
reportView.getColumnRenderer(col)" />
|
||||||
</td>
|
</td>
|
||||||
|
<td style="border: 1px solid grey" />
|
||||||
|
<td style="border: 1px solid grey" />
|
||||||
|
<td style="border: 1px solid grey" />
|
||||||
</tr>
|
</tr>
|
||||||
<tal:workitems define="col report/fields/workItems">
|
<tal:workitems define="col report/fields/workItems">
|
||||||
<metal:column use-macro="python:
|
<metal:column use-macro="python:
|
||||||
|
|
|
@ -39,6 +39,11 @@ from loops.expert.report import ReportInstance
|
||||||
from loops import util
|
from loops import util
|
||||||
|
|
||||||
|
|
||||||
|
class StateField(Field):
|
||||||
|
def getDisplayValue(self, row):
|
||||||
|
value = self.getValue(row)
|
||||||
|
return util._(value)
|
||||||
|
|
||||||
class DateField(Field):
|
class DateField(Field):
|
||||||
|
|
||||||
part = 'date'
|
part = 'date'
|
||||||
|
@ -128,7 +133,7 @@ duration = DurationField('duration', u'Duration',
|
||||||
effort = DurationField('effort', u'Effort',
|
effort = DurationField('effort', u'Effort',
|
||||||
description=u'The effort of the work.',
|
description=u'The effort of the work.',
|
||||||
executionSteps=['output', 'totals'])
|
executionSteps=['output', 'totals'])
|
||||||
state = Field('state', u'State',
|
state = StateField('state', u'State',
|
||||||
description=u'The state of the work.',
|
description=u'The state of the work.',
|
||||||
cssClass='center',
|
cssClass='center',
|
||||||
executionSteps=['query', 'output'])
|
executionSteps=['query', 'output'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue