mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Reintroduce is_string modifier in addons/connector templates
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1606003698
This commit is contained in:
parent
451ba407d7
commit
91d63213ae
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
<div class="settings-submit-wrapper panel-footer">
|
<div class="settings-submit-wrapper panel-footer">
|
||||||
{{if $submit}}
|
{{if $submit|is_string}}
|
||||||
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
{{if $submit}}
|
{{if $submit}}
|
||||||
{{if $submit}}
|
{{if $submit|is_string}}
|
||||||
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$count = 1}}
|
{{$count = 1}}
|
||||||
|
|
Loading…
Reference in a new issue