work in progress: page actions - start with print action; + translations for work item management
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3918 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
1f4582f7a0
commit
8ecf2645f1
7 changed files with 130 additions and 7 deletions
|
@ -184,7 +184,7 @@ fieldset.box td {
|
|||
.quicksearch {
|
||||
position: absolute;
|
||||
right: 2em;
|
||||
top: 1em;
|
||||
top: 0.8em;
|
||||
}
|
||||
|
||||
.quicksearch input {
|
||||
|
@ -194,7 +194,13 @@ fieldset.box td {
|
|||
.language-switch {
|
||||
position: absolute;
|
||||
right: 2em;
|
||||
top: 3em;
|
||||
top: 2.4em;
|
||||
}
|
||||
|
||||
.page-actions {
|
||||
position: absolute;
|
||||
right: 2em;
|
||||
top: 3.8em;
|
||||
}
|
||||
|
||||
.top image {
|
||||
|
|
|
@ -105,7 +105,8 @@ class NodeView(BaseView):
|
|||
media='all', priority=60)
|
||||
cm.register('js', 'loops.js', resourceName='loops.js', priority=60)
|
||||
cm.register('top_actions', 'top_actions', name='multi_actions',
|
||||
subMacros=[i18n_macros.macros['language_switch']])
|
||||
subMacros=[node_macros.macros['page_actions'],
|
||||
i18n_macros.macros['language_switch']])
|
||||
if self.globalOptions('expert.quicksearch'):
|
||||
from loops.expert.browser.search import searchMacrosTemplate
|
||||
cm.register('top_actions', 'top_quicksearch', name='multi_actions',
|
||||
|
|
|
@ -205,6 +205,18 @@
|
|||
</metal:actions>
|
||||
|
||||
|
||||
<metal:actions define-macro="page_actions">
|
||||
<div class="page-actions"
|
||||
title="Print this page"
|
||||
i18n:attributes="title">
|
||||
<a href="javascript:print()">
|
||||
<img tal:attributes="src string:$resourceBase/cybertools.icons/printer.png"
|
||||
i18n:attributes="alt"
|
||||
alt="Print" />
|
||||
</a></div>
|
||||
</metal:actions>
|
||||
|
||||
|
||||
<metal:actions define-macro="object_actions">
|
||||
<div class="object-actions"
|
||||
tal:define="target nocall:target|nothing;">
|
||||
|
|
Binary file not shown.
|
@ -3,7 +3,7 @@ msgstr ""
|
|||
|
||||
"Project-Id-Version: $Id$\n"
|
||||
"POT-Creation-Date: 2007-05-22 12:00 CET\n"
|
||||
"PO-Revision-Date: 2010-06-27 12:00 CET\n"
|
||||
"PO-Revision-Date: 2010-07-09 12:00 CET\n"
|
||||
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
||||
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -212,6 +212,18 @@ msgstr "Anwesenheit"
|
|||
msgid "Actions"
|
||||
msgstr "Aktionen"
|
||||
|
||||
msgid "Print this page"
|
||||
msgstr "Diese Seite ausdrucken"
|
||||
|
||||
msgid "Information about this object."
|
||||
msgstr "Informationen über dieses Objekt."
|
||||
|
||||
msgid "Send a link to this object by email."
|
||||
msgstr "Einen Link zu diesem Objekt per E-Mail versenden."
|
||||
|
||||
msgid "Edit with external editor."
|
||||
msgstr "Mit 'External Editor' bearbeiten."
|
||||
|
||||
msgid "Type"
|
||||
msgstr "Typ"
|
||||
|
||||
|
@ -571,6 +583,9 @@ msgstr "Suchbegriff"
|
|||
msgid "Calendar"
|
||||
msgstr "Kalender"
|
||||
|
||||
msgid "Work Items"
|
||||
msgstr "Aktivitäten"
|
||||
|
||||
msgid "Day"
|
||||
msgstr "Tag"
|
||||
|
||||
|
@ -586,6 +601,93 @@ msgstr "Dauer"
|
|||
msgid "Effort"
|
||||
msgstr "Aufwand"
|
||||
|
||||
msgid "Party"
|
||||
msgstr "Teilnehmer"
|
||||
|
||||
msgid "Start - End"
|
||||
msgstr "Beginn - Ende"
|
||||
|
||||
msgid "Duration/Effort"
|
||||
msgstr "Dauer/Aufwand"
|
||||
|
||||
msgid "Duration / Effort (hh:mm)"
|
||||
msgstr "Dauer / Aufwand (hh:mm)"
|
||||
|
||||
msgid "Action"
|
||||
msgstr "Aktion"
|
||||
|
||||
msgid "Comment"
|
||||
msgstr "Kommentar"
|
||||
|
||||
msgid "Created"
|
||||
msgstr "Angelegt"
|
||||
|
||||
msgid "Close"
|
||||
msgstr "Schließen"
|
||||
|
||||
msgid "Work Item Information"
|
||||
msgstr "Aktivität"
|
||||
|
||||
msgid "Information about this work item."
|
||||
msgstr "Informationen über diese Aktivität."
|
||||
|
||||
msgid "Edit work item."
|
||||
msgstr "Aktivität bearbeiten."
|
||||
|
||||
msgid "new"
|
||||
msgstr "neu"
|
||||
|
||||
msgid "planned"
|
||||
msgstr "geplant"
|
||||
|
||||
msgid "accepted"
|
||||
msgstr "angenommen"
|
||||
|
||||
msgid "delegated"
|
||||
msgstr "delegiert"
|
||||
|
||||
msgid "running"
|
||||
msgstr "in Arbeit"
|
||||
|
||||
msgid "done"
|
||||
msgstr "bearbeitet"
|
||||
|
||||
msgid "finished"
|
||||
msgstr "beendet"
|
||||
|
||||
msgid "closed"
|
||||
msgstr "abgeschlossen"
|
||||
|
||||
msgid "cancelled"
|
||||
msgstr "abgebrochen"
|
||||
|
||||
msgid "replaced"
|
||||
msgstr "ersetzt"
|
||||
|
||||
msgid "plan"
|
||||
msgstr "planen"
|
||||
|
||||
msgid "accept"
|
||||
msgstr "annehmen"
|
||||
|
||||
msgid "start working"
|
||||
msgstr "Arbeit beginnen"
|
||||
|
||||
msgid "work"
|
||||
msgstr "bearbeiten"
|
||||
|
||||
msgid "finish"
|
||||
msgstr "beenden"
|
||||
|
||||
msgid "cancel"
|
||||
msgstr "abbrechen"
|
||||
|
||||
msgid "delegate"
|
||||
msgstr "delegieren"
|
||||
|
||||
msgid "close"
|
||||
msgstr "abschließen"
|
||||
|
||||
msgid "Monday"
|
||||
msgstr "Montag"
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ class WorkItemDetails(TrackDetails):
|
|||
self.view.registerDojoNumberWidget()
|
||||
self.view.registerDojoTextarea()
|
||||
actions.append(DialogAction(self.view,
|
||||
description=_(u'Create a work item.'),
|
||||
description=_(u'Edit work item.'),
|
||||
viewName='create_workitem.html',
|
||||
dialogName='',
|
||||
icon='edit.gif',
|
||||
|
|
|
@ -93,7 +93,8 @@
|
|||
onChange="showIf(this, 'delegate', 'party')">
|
||||
<option tal:repeat="action view/actions"
|
||||
tal:attributes="value action/name"
|
||||
tal:content="action/title" />
|
||||
tal:content="action/title"
|
||||
i18n:translate="" />
|
||||
</select>
|
||||
<span id="party" style="display: none">
|
||||
<label i18n:translate="" for="input_party"
|
||||
|
@ -187,7 +188,8 @@
|
|||
</tr>
|
||||
<tr tal:define="state item/track/getStateObject">
|
||||
<td><span i18n:translate="">State</span>:</td>
|
||||
<td tal:content="state/title"></td>
|
||||
<td i18n:translate=""
|
||||
tal:content="state/title"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span i18n:translate="">Created</span>:</td>
|
||||
|
|
Loading…
Add table
Reference in a new issue