Browse Source

Merge branch 'V20220125' into zouap_user

pull/1409/head
zouap 3 years ago
parent
commit
67215f63d4
2 changed files with 11 additions and 9 deletions
  1. +5
    -3
      templates/org/select_pro.tmpl
  2. +6
    -6
      templates/user/profile.tmpl

+ 5
- 3
templates/org/select_pro.tmpl View File

@@ -61,7 +61,9 @@
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.ui.cards>.card>.extra .tags > a{
margin-top: 5px;
}

</style>
<div class="ui stackable grid">
@@ -99,7 +101,7 @@
{{if .Topics }}
<div class=" tags " style="position: relative;">
{{range .Topics}}
{{if ne . "" }}<a style="max-width:100%;margin: 5px 0;display:inline-flex;" href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}" ><span class="ui small label topic omit" >{{.}}</span></a>{{end}}
{{if ne . "" }}<a style="max-width:100%;display:inline-flex;" href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}" ><span class="ui small label topic omit" >{{.}}</span></a>{{end}}
{{end}}
</div>
@@ -108,7 +110,7 @@
</div>
</div>
<div class=" extra " style="color:#888888;border-top: none !important">
<div class=" extra " style="color:#888888;border-top: none !important;padding-top: 0">
<div class="ui mini right compact marg" >
<a class="item marg ">
{{svg "octicon-eye" 16}} {{.NumWatches}}


+ 6
- 6
templates/user/profile.tmpl View File

@@ -77,14 +77,14 @@
<a class="ui image poping up" style="color: #0366D6;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;" href="{{.HomeLink}}" data-content="{{.Name}}" data-position="top center" data-variation="tiny inverted">{{.Name}}</a>
</li>
<li class="infor" style="width: 25%;">
<li class="infor" style="width: 25%;display: table-cell">
<img style="width: 14px; height: 14px;border: none;" src="/img/member.svg" >
<span style="color: rgba(0,0,0,.4);padding-left: 5px;">{{.NumMembers}}</span>
<img style="width: 16px;height:16px;border: none;" src="/img/member.svg" >
<span style="color: rgba(0,0,0,.4);vertical-align: middle;">{{.NumMembers}}</span>
</li>
<li class="infor" style="width: 25%;">
<img style="width: 14px; height: 14px" src="/img/pro_num.svg" >
<span style="color: rgba(0,0,0,.4);padding-left: 5px;">{{.NumRepos}}</span>
<li class="infor" style="width: 25%;display: table-cell">
<img style="width: 16px;height: 16px;" src="/img/pro_num.svg" >
<span style="color: rgba(0,0,0,.4);vertical-align: middle;">{{.NumRepos}}</span>
</li>
{{end}}


Loading…
Cancel
Save