User:Jouni/Timetracker: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(test version with include, does not work)
(TOdO removed)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{variable|moderator=Jouni|stub=Yes}}
{{variable|moderator=Jouni|stub=Yes}}
<rcode  
<rcode  
variables = "
include="page:Timetracker|name:tracker"
variables="
name:project|description:What project are you working on?|type:selection|options:'Administration';Administration;'Claih/Bioher';Claih/Bioher;'Organising work';Organising work;'Plantlibra';Plantlibra;'Urgenche';Urgenche|default:'Organising work'
name:project|description:What project are you working on?|type:selection|options:'Administration';Administration;'Claih/Bioher';Claih/Bioher;'Organising work';Organising work;'Plantlibra';Plantlibra;'Urgenche';Urgenche|default:'Organising work'
|name:start|description:When did you start the work?|type:datetime
|name:start|description:When did you start the work?|type:datetime
|name:end|description:When did you stop the work?|type:datetime
|name:end|description:When did you stop the work?|type:datetime
|name:continuous|description:|options:1;I did not stop, I am  continuing the work|type:checkbox|default:1
|name:continuous|description:|options:1;I did not stop, I am  continuing the work.|type:checkbox|default:1
|name:page|type:hidden|default:'Op_en5387'
|name:page|type:hidden|default:'Op_en5387'
"
"
include = "page:Timetracker|name:tracker"
>
>
timetracker(page)
timetracker(page)
</rcode>
</rcode>
{{attack|# |Why is the obs column not saved?|--[[User:Jouni|Jouni]] 09:48, 6 October 2011 (EEST)}}
{{attack_invalid|# |Why is the inclusion of Timetracker#tracker not working? Anyway, the code works when copied here.|--[[User:Jouni|Jouni]] 09:48, 6 October 2011 (EEST)}}
:{{attack|# |I found the error: you are not allowed to write '''name <nowiki>=</nowiki> "tracker"''' but you have to write '''name<nowiki>=</nowiki>"tracker"''' as the rcode attribute, without spaces. Easy to correct but difficult to guess. |--[[User:Jouni|Jouni]] 20:37, 6 October 2011 (EEST)}}
::{{comment|# |Yep I found the same error and tried to fix it so that spaces next to equals-character would be allowed. But because of some mystical and unresolved reason I was not successful in fixing this. So I guess that we just have to avoid the usage of spaces for now. ps. You guessed that it would take 5 minutes to fix this, but it took the whole day and still led to failure :)|--[[User:Ehac|Einari]] 8:37, 10 October 2011 (EEST)}}


== Question ==
== Question ==

Latest revision as of 05:41, 10 October 2011


What project are you working on?:

When did you start the work?:
..-::

When did you stop the work?:
..-::

:
I did not stop, I am continuing the work.

+ Show code

⇤--#: . Why is the obs column not saved? --Jouni 09:48, 6 October 2011 (EEST) (type: truth; paradigms: science: attack)

⇤--#: . Why is the inclusion of Timetracker#tracker not working? Anyway, the code works when copied here. --Jouni 09:48, 6 October 2011 (EEST) (type: truth; paradigms: science: attack)

⇤--#: . I found the error: you are not allowed to write name = "tracker" but you have to write name="tracker" as the rcode attribute, without spaces. Easy to correct but difficult to guess. --Jouni 20:37, 6 October 2011 (EEST) (type: truth; paradigms: science: attack)
----#: . Yep I found the same error and tried to fix it so that spaces next to equals-character would be allowed. But because of some mystical and unresolved reason I was not successful in fixing this. So I guess that we just have to avoid the usage of spaces for now. ps. You guessed that it would take 5 minutes to fix this, but it took the whole day and still led to failure :) --Einari 8:37, 10 October 2011 (EEST) (type: truth; paradigms: science: comment)

Question

How does Jouni spend his time?

Answer

{{#opasnet_base_link:Op_en5387}}


Rationale

The time tracker should follow the Opasnet pages that are edited during the work. The default is that those pages are linked to the ongoing project. If they are edited afterwards, that time is automatically assigned to that project. This default can be overruled by making a data table that contains a list of pages and the project they relate to.

See also

Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>

Jouni/Timetracker. Opasnet . [1]. Accessed 25 Nov 2024.