mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 13:54:50 +00:00
8bb0a9b7c8
Also remembered to add tiddlywiki.info, that is important.
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
caption: Objective
|
|
tags: Section
|
|
title: $:/input/ObjectiveInput2
|
|
|
|
\define thisAddObjectiveButton()
|
|
<$button>Add Objective<$action-setfield $tiddler='$:/temp/Objective' title='$:/data/Objective/$(ObjectiveName)$'/><$action-setfield $tiddler='$:/temp/Objective' name='' text=''/></$button>
|
|
\end
|
|
|
|
\define thisSelectObjective()
|
|
<$radio tiddler='$:/settings/$(ThisResume)$/Objective' value={{!!name}}/>
|
|
\end
|
|
|
|
Name:
|
|
<$edit-text tiddler='$:/temp/Objective' field=name class='tc-edit-texteditor' placeholder='Short Name'/>
|
|
|
|
Objective:
|
|
<$edit-text tiddler='$:/temp/Objective' class='tc-edit-texteditor' placeholder='Objective'/>
|
|
|
|
<$vars ThisResume={{$:/settings/Global!!selected_resume}} ObjectiveName={{$:/temp/Objective!!name}}>
|
|
<<thisAddObjectiveButton>>
|
|
|
|
<br>
|
|
Select objective to use:
|
|
|
|
<table>
|
|
<tr><th>Select</th><th>Objective Name</th><th>Objective</th></tr>
|
|
<$list filter='[prefix[$:/data/Objective/]]'>
|
|
<tr><td><<thisSelectObjective>></td><td><$view field='name'/></td><td><$view field='text'/></td></tr>
|
|
</$list>
|
|
</table>
|
|
</$vars> |