Browse Source

提交代码

pull/1425/head
ychao_1983 3 years ago
parent
commit
76a1e6f7a3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/org/course_list.tmpl
  2. +1
    -1
      templates/org/home_courses.tmpl

+ 1
- 1
templates/org/course_list.tmpl View File

@@ -128,7 +128,7 @@
<!-- <img class="ui avatar" style="width: 22px;height:22px;display:flex;vertical-align: middle;" src="{{.Creator.RelAvatarLink}}"> --> <!-- <img class="ui avatar" style="width: 22px;height:22px;display:flex;vertical-align: middle;" src="{{.Creator.RelAvatarLink}}"> -->
<div class="left aligned author"> <div class="left aligned author">
<!-- <span > --> <!-- <span > -->
{{if ne .CreatorID 0}}
{{if .Creator}}
<img class="ui avatar image" style="width: 22px;height:22px;margin-top:-2px" src="{{.Creator.RelAvatarLink}}"> <img class="ui avatar image" style="width: 22px;height:22px;margin-top:-2px" src="{{.Creator.RelAvatarLink}}">
{{else}} {{else}}
<img class="ui avatar image" style="width: 22px;height:22px;margin-top:-2px" src="{{.Owner.RelAvatarLink}}"> <img class="ui avatar image" style="width: 22px;height:22px;margin-top:-2px" src="{{.Owner.RelAvatarLink}}">


+ 1
- 1
templates/org/home_courses.tmpl View File

@@ -169,7 +169,7 @@
<div class="content" style="margin-left: 10px;"> <div class="content" style="margin-left: 10px;">
<a href="{{.Link}}"><strong class="team-name">{{.Alias}}</strong></a> <a href="{{.Link}}"><strong class="team-name">{{.Alias}}</strong></a>
<p class="text grey"> <p class="text grey">
{{if ne .CreatorID 0}}
{{if .Creator}}
贡献者:{{.Creator.Name}} 贡献者:{{.Creator.Name}}
{{else}} {{else}}
贡献者:{{.Owner.Name}} 贡献者:{{.Owner.Name}}


Loading…
Cancel
Save