Merge pull request #1129 from nupplaphil/bug/friendica-10314

Fix cat avatar for non-admin users
This commit is contained in:
Hypolite Petovan 2021-05-29 16:57:31 -04:00 committed by GitHub
commit 0464660cad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,14 +11,14 @@
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
<p>{{$setrandomize}}</p>
<div class="settings-submit-wrapper" >
<input type="submit" name="catavatar-usecat"
class="btn btn-primary settings-submit" value="{{$usecat}}" />
<button type="submit" name="catavatar-usecat"
class="btn btn-primary settings-submit" value="{{$usecat}}">{{$usecat}}</button>
<div class="btn-group" role="group" aria-label="...">
<input type="submit" name="catavatar-morecat"
class="btn btn-default settings-submit" value="{{$morecat}}" />
<input type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
class="btn btn-default settings-submit" value="{{$emailcat}}" />
<button type="submit" name="catavatar-morecat"
class="btn btn-default settings-submit" value="{{$morecat}}">{{$morecat}}</button>
<button type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
class="btn btn-default settings-submit" value="{{$emailcat}}">{{$emailcat}}</button>
</div>
</div>
</div>