Fix cat avatar for non-admin users #1129

Merged
nupplaphil merged 2 commits from bug/friendica-10314 into 2021.06-rc 2021-05-29 22:57:31 +02:00
Showing only changes of commit 58e38651b2 - Show all commits

View file

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