Added dummy image to repos list
This commit is contained in:
parent
c4a608b38c
commit
1dbefc5281
2 changed files with 4 additions and 1 deletions
BIN
static/images/dummy.png
Normal file
BIN
static/images/dummy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -20,7 +20,10 @@ block content
|
|||
div.col-sm-4
|
||||
a.card[href="/"+$repo.FullName]
|
||||
div.card-header
|
||||
img.avatar[src=$repo.Avatar]
|
||||
if $repo.Avatar != ""
|
||||
img.avatar[src=$repo.Avatar]
|
||||
else
|
||||
img.avatar[src="/static/images/dummy.png"]
|
||||
div.card-block
|
||||
h3.login #{$repo.Name}
|
||||
div.full_name.hidden #{$repo.FullName}
|
||||
|
|
Loading…
Reference in a new issue