Skip to content

Commit

Permalink
Dev: question theme documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jun 19, 2018
1 parent 2846559 commit c2f4b7a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions themes/question/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ Also you should give some information about the used licence (remember LimeSurve

It makes a lot of sense to write which version of the view it is, to let people know If they would have to update.

<<<<<<< refs/remotes/origin/master
Also, there is a difference between <name> and <title> tags.
<name> tag is used to enter a question theme code, without spaces.
<title> tag is used to enter a nice title which would be visible on Question theme dropdown on edit question page.
=======
Also, there is a difference between `name` and `title` tags.
`name` tag is used to enter a question theme code, without spaces.
`title` tag is used to enter a nice title which would be visible on Question theme dropdown on edit question page.
>>>>>>> Dev: question theme documentation update
Both tags are required.
The `metadatas` part should therefore look something like this:
Expand All @@ -46,7 +52,11 @@ The `metadatas` part should therefore look something like this:
You can add additional files to the question view.
<<<<<<< refs/remotes/origin/master
<preview> tag is used to show a preview image for question type on edit question page right side accordion. If this tag is missing or empty, default question type preview image would be used.
=======
`preview` tag is used to show a preview image for question type on edit question page right side accordion. If this tag is missing or empty, default question type preview image would be used.
>>>>>>> Dev: question theme documentation update
Please make sure, that you put your own files in an `asset` folder in the base folder of your question view.
Expand Down

0 comments on commit c2f4b7a

Please sign in to comment.