Fix cat avatar for non-admin users

This commit is contained in:
Philipp 2021-05-29 21:57:14 +02:00
parent f014d84798
commit 58e38651b2
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD

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>