Skip to content

Commit

Permalink
fix: fix sorting error issue. #115
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 17, 2024
1 parent 33074ab commit b93c369
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
3 changes: 3 additions & 0 deletions template/_partial/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
<% } %>
<% if (tabCls === 'users') { %>
<style>
.td-unknow{
color:#999;
}
.list li.death > div { opacity: 1; filter: grayscale(100%); }
.userlist {
font-size: 14px;
Expand Down
19 changes: 8 additions & 11 deletions template/_partial/users_list.ejs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
<header>
<style>
.td-unknow{
color:#999;
}
</style>
</header>
<tr>
<tr title="<%=user.bio%>">
<td>
<a href="<%=user.html_url%>" target="_blank">
Expand All @@ -31,18 +23,23 @@
</div>
<span><%=user.login%></span>
</td>

<% if(user.location) { %>
<td><%=user.location%></td>
<% } %>

<% if(!user.location) { %>
<td class="td-unknow">未知</td>
<td class="td-unknow">unknow</td>
<% } %>
<% if(user.company) { %>

<% if(user.company) { %>
<td><%=user.company%></td>
<% } %>

<% if(!user.company) { %>
<td class="td-unknow">未知</td>
<td class="td-unknow">unknow</td>
<% } %>

<td>
<a href="<%=user.html_url%>?tab=followers" target="_blank">
<%=user.followers/1000%>k
Expand Down

0 comments on commit b93c369

Please sign in to comment.