Reintroduce is_string modifier in addons/connector templates

- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1606003698
This commit is contained in:
Hypolite Petovan 2023-07-11 09:00:41 -04:00
parent 451ba407d7
commit 91d63213ae
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<div class="clear"></div>
{{if $submit}}
<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>
{{else}}
{{$count = 1}}

View File

@ -11,7 +11,7 @@
</div>
<div class="panel-footer">
{{if $submit}}
{{if $submit}}
{{if $submit|is_string}}
<button type="submit" name="{{$connector}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}