Sfoglia il codice sorgente

Tidy function slightly and reword holding message

staging
Christopher Ross Hind 3 anni fa
parent
commit
73579182ea
2 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. +1
    -4
      app/Knockout/User.php
  2. +1
    -1
      resources/views/page/user.blade.php

+ 1
- 4
app/Knockout/User.php Vedi File

@@ -85,10 +85,7 @@ class User {
$showAvatar = true;
$showBackground = true;

if ($this->banned) {
$classes[] = 'banned';
}

if ($this->banned) $classes[] = 'banned';
$classes[] = $showAvatar ? 'show-avatar' : 'hide-avatar';
$classes[] = $showBackground ? 'show-backgrounds' : 'hide-backgrounds';



+ 1
- 1
resources/views/page/user.blade.php Vedi File

@@ -14,7 +14,7 @@
@include('partial/user', ['user' => $user])
<div class="row spacer"></div>
<div class="row">
<p>Will add bios later, probably</p>
<p>&gt;tfw no user bio feature</p>
</div>
@endsection



Loading…
Annulla
Salva