Using the user fullname when rendering a sketch.

Also refactored the portal page for sketches and moved the common code
to the lms_sketch doctype module.
This commit is contained in:
Anand Chitipothu
2021-03-11 11:53:06 +00:00
parent 4fe91422f4
commit 5f8de7612b
3 changed files with 36 additions and 13 deletions

View File

@@ -20,7 +20,7 @@
<div class="sketch-preview mb-5">
<span class="sketch-ts">{{ sketch.modified }}</span>
<a href="/sketches/sketch?sketch={{sketch.name}}">{{sketch.title}}</a>
By {{sketch.owner}}
By {{sketch.owner_name}}
</div>
{% endfor %}
</div>