Selaa lähdekoodia

allow html in summary, notes and description

Conflicts:

	src/main/template/param_readonly.handlebars
	src/main/template/param_readonly_required.handlebars
bubble
Rintcius Blok 12 vuotta sitten
vanhempi
commit
ed7bf75e9a
6 muutettua tiedostoa jossa 21 lisäystä ja 10 poistoa
  1. +2
    -2
      src/main/template/operation.handlebars
  2. +1
    -1
      src/main/template/param.handlebars
  3. +1
    -1
      src/main/template/param_list.handlebars
  4. +8
    -2
      src/main/template/param_readonly.handlebars
  5. +8
    -3
      src/main/template/param_readonly_required.handlebars
  6. +1
    -1
      src/main/template/param_required.handlebars

+ 2
- 2
src/main/template/operation.handlebars Näytä tiedosto

@@ -12,14 +12,14 @@
</h3>
<ul class='options'>
<li>
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{summary}}</a>
<a href='#!/{{resourceName}}/{{nickname}}_{{httpMethod}}' class="toggleOperation">{{{summary}}}</a>
</li>
</ul>
</div>
<div class='content' id='{{resourceName}}_{{nickname}}_{{httpMethod}}_content' style='display:none'>
{{#if notes}}
<h4>Implementation Notes</h4>
<p>{{notes}}</p>
<p>{{{notes}}}</p>
{{/if}}
<form accept-charset='UTF-8' action='#' class='sandbox' method='post'>
<div style='margin:0;padding:0;display:inline'></div>


+ 1
- 1
src/main/template/param.handlebars Näytä tiedosto

@@ -17,5 +17,5 @@
{{/if}}

</td>
<td width='500'>{{description}}</td>
<td width='500'>{{{description}}}</td>


+ 1
- 1
src/main/template/param_list.handlebars Näytä tiedosto

@@ -17,5 +17,5 @@
{{/each}}
</select>
</td>
<td width='500'>{{description}}</td>
<td width='500'>{{{description}}}</td>


+ 8
- 2
src/main/template/param_readonly.handlebars Näytä tiedosto

@@ -1,4 +1,10 @@
<td class='code'>{{name}}</td>
<td>-</td>
<td width='500'>{{description}}</td>
<td>
{{#if isBody}}
<textarea class='body-textarea' readonly='readonly' name='{{name}}'>{{defaultValue}}</textarea>
{{else}}
{{defaultValue}}
{{/if}}
</td>
<td width='500'>{{{description}}}</td>


+ 8
- 3
src/main/template/param_readonly_required.handlebars Näytä tiedosto

@@ -1,4 +1,9 @@
<td class='code required'>{{name}}</td>
<td>-</td>
<td width='500'>{{description}}</td>

<td>
{{#if isBody}}
<textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='{{name}}'>{{defaultValue}}</textarea>
{{else}}
{{defaultValue}}
{{/if}}
</td>
<td width='500'>{{{description}}}</td>

+ 1
- 1
src/main/template/param_required.handlebars Näytä tiedosto

@@ -16,5 +16,5 @@
{{/if}}
</td>
<td width='500'>
<strong>{{description}}</strong>
<strong>{{{description}}}</strong>
</td>

Ladataan…
Peruuta
Tallenna