help-texts: add
users with permission edit_help_texts are allowed to select edit help texts from menu and enter texts for all event fields. Other users will see help texts as tooltips. This allows to provide help to users depending on your workflow. help texts are saved by project and studio.
This commit is contained in:
21
website/agenda/planung/templates/edit-help-texts.html
Normal file
21
website/agenda/planung/templates/edit-help-texts.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<script src="js/edit-help-texts.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="css/edit-help-texts.css" type="text/css" />
|
||||
|
||||
<TMPL_LOOP tables>
|
||||
Table <TMPL_VAR name>
|
||||
<table>
|
||||
<TMPL_LOOP columns>
|
||||
<tr>
|
||||
<form action="help-texts.cgi" method=post>
|
||||
<input type="hidden" name="project_id" value="<TMPL_VAR .project_id>">
|
||||
<input type="hidden" name="studio_id" value="<TMPL_VAR .studio_id>">
|
||||
<input type="hidden" name="table" value="<TMPL_VAR table>">
|
||||
<input type="hidden" name="column" value="<TMPL_VAR column>">
|
||||
<td><TMPL_VAR column></td>
|
||||
<td><textarea name="text" style="width:80ch;height:8rem;"><TMPL_VAR value></textarea></td>
|
||||
<td><input type="submit" name="action" value="save"></td>
|
||||
</form>
|
||||
</tr>
|
||||
</TMPL_LOOP>
|
||||
</table>
|
||||
</TMPL_LOOP>
|
||||
Reference in New Issue
Block a user