allow html in summary, notes and description
Conflicts: src/main/template/param_readonly.handlebars src/main/template/param_readonly_required.handlebars
This commit is contained in:
@@ -12,14 +12,14 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<ul class='options'>
|
<ul class='options'>
|
||||||
<li>
|
<li>
|
||||||
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{summary}}</a>
|
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{{summary}}}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class='content' id='{{resourceName}}_{{nickname}}_{{httpMethod}}_content' style='display:none'>
|
<div class='content' id='{{resourceName}}_{{nickname}}_{{httpMethod}}_content' style='display:none'>
|
||||||
{{#if notes}}
|
{{#if notes}}
|
||||||
<h4>Implementation Notes</h4>
|
<h4>Implementation Notes</h4>
|
||||||
<p>{{notes}}</p>
|
<p>{{{notes}}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<form accept-charset='UTF-8' action='#' class='sandbox' method='post'>
|
<form accept-charset='UTF-8' action='#' class='sandbox' method='post'>
|
||||||
<div style='margin:0;padding:0;display:inline'></div>
|
<div style='margin:0;padding:0;display:inline'></div>
|
||||||
|
|||||||
@@ -17,5 +17,5 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td width='500'>{{description}}</td>
|
<td width='500'>{{{description}}}</td>
|
||||||
|
|
||||||
|
|||||||
@@ -17,5 +17,5 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td width='500'>{{description}}</td>
|
<td width='500'>{{{description}}}</td>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
<td class='code'>{{name}}</td>
|
<td class='code'>{{name}}</td>
|
||||||
<td>-</td>
|
<td>
|
||||||
<td width='500'>{{description}}</td>
|
{{#if isBody}}
|
||||||
|
<textarea class='body-textarea' readonly='readonly' name='{{name}}'>{{defaultValue}}</textarea>
|
||||||
|
{{else}}
|
||||||
|
{{defaultValue}}
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td width='500'>{{{description}}}</td>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
<td class='code required'>{{name}}</td>
|
<td class='code required'>{{name}}</td>
|
||||||
<td>-</td>
|
<td>
|
||||||
<td width='500'>{{description}}</td>
|
{{#if isBody}}
|
||||||
|
<textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='{{name}}'>{{defaultValue}}</textarea>
|
||||||
|
{{else}}
|
||||||
|
{{defaultValue}}
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td width='500'>{{{description}}}</td>
|
||||||
|
|||||||
@@ -16,5 +16,5 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td width='500'>
|
<td width='500'>
|
||||||
<strong>{{description}}</strong>
|
<strong>{{{description}}}</strong>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user