about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-09T21·48+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-09T21·48+0200
commit97d77ffd07cf0c81deaffd70ad1448d56d325a35 (patch)
tree92bf92946942f56a7c6c22aad43d16eba4217f0d
parentc5833c02e202f2cbb236a092f851afb117ae2b28 (diff)
fix(templates): Fix author name & avatar display
-rw-r--r--templates/thread.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 3c93a524834f..ee5a3a4271fb 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -47,7 +47,7 @@
                 <div class="col-10">
                   {{ thread.body }}
                 </div>
-                <small class="text muted"> {{ thread.posted }} </small>
+                <small class="text-muted"> {{ thread.posted }} </small>
               </div>
             </div>
 
@@ -55,13 +55,21 @@
             <div class="list-group-item flex-column align-items-start">
               <div class="row">
                 <div class="col-2 border-right">
-                  <img src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50" />
-                  {{ post.author_name }}
+                  <div class="row">
+                    <div class="col-12">
+                      <img src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50" />
+                    </div>
+                  </div>
+                  <div class="row">
+                    <div class="col-12">
+                      <strong>{{ post.author_name }}</strong>
+                    </div>
+                  </div>
                 </div>
                 <div class="col-10">
                   {{ post.body }}
                 </div>
-                <small class="text muted"> {{ post.posted }} </small>
+                <small class="text-muted"> {{ post.posted }} </small>
               </div>
             </div>
             {%- endfor %}