Unknwon 9 years ago
parent
commit
c7ac237b57

File diff suppressed because it is too large
+ 0 - 0
public/css/gogs.min.css


+ 6 - 0
public/less/_admin.less

@@ -19,4 +19,10 @@
 	.ui.segment {
 		box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
 	}
+
+	&.user {
+		.email {
+			max-width: 200px;
+		}
+	}
 }

+ 2 - 2
templates/admin/user/list.tmpl

@@ -30,7 +30,7 @@
               <tr>
                 <td>{{.Id}}</td>
                 <td><a href="{{AppSubUrl}}/{{.Name}}">{{.Name}}</a></td>
-                <td>{{.Email}}</td>
+                <td><span class="text truncate email">{{.Email}}</span></td>
                 <td><i class="fa fa{{if .IsActive}}-check{{end}}-square-o"></i></td>
                 <td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td>
                 <td>{{.NumRepos}}</td>
@@ -58,7 +58,7 @@
 						{{end}}
 						{{end}}
 					  <a class="{{if not .HasNext}}disabled{{end}} item" {{if .HasNext}}href="{{$.Link}}?page={{.Next}}"{{end}}>
-					    {{$.i18n.Tr "repo.issues.next"}} <i class="icon right arrow"></i>
+					    {{$.i18n.Tr "repo.issues.next"}}&nbsp;<i class="icon right arrow"></i>
 					  </a>
 						<a class="{{if .IsLast}}disabled{{end}} item" href="{{$.Link}}?page={{.TotalPages}}">{{$.i18n.Tr "admin.last_page"}}&nbsp;<i class="angle double right icon"></i></a>
 					</div>

+ 1 - 1
templates/repo/issue/list.tmpl

@@ -139,7 +139,7 @@
 					{{end}}
 					{{end}}
 				  <a class="{{if not .HasNext}}disabled{{end}} item" {{if .HasNext}}href="{{$.Link}}?type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&page={{.Next}}"{{end}}>
-				    {{$.i18n.Tr "repo.issues.next"}} <i class="icon right arrow"></i>
+				    {{$.i18n.Tr "repo.issues.next"}}&nbsp;<i class="icon right arrow"></i>
 				  </a>
 				</div>
 			</div>

Some files were not shown because too many files changed in this diff