##// END OF EJS Templates
ui: normalize main grid sizes and columns
marcink -
r3557:77e4ef40 default
parent child Browse files
Show More
@@ -728,6 +728,10 b' class RepoGroupModel(BaseModel):'
728 728 "name_raw": group.group_name,
729 729 "last_change": last_change(group.last_db_change),
730 730 "last_change_raw": datetime_to_time(group.last_db_change),
731
732 "last_changeset": "",
733 "last_changeset_raw": "",
734
731 735 "desc": desc(group.description_safe, group.personal),
732 736 "top_level_repos": 0,
733 737 "owner": user_profile(group.user.username)
@@ -141,6 +141,11 b' table.dataTable {'
141 141 }
142 142 }
143 143
144 &.td-grid-name {
145 white-space: nowrap;
146 min-width: 300px;
147 }
148
144 149 &.td-componentname {
145 150 white-space: nowrap;
146 151 }
@@ -79,13 +79,16 b''
79 79 order: [[ 0, "asc" ]],
80 80 columns: [
81 81 { data: {"_": "name",
82 "sort": "name_raw"}, title: "${_('Name')}", className: "td-componentname" },
82 "sort": "name_raw"}, title: "${_('Name')}", className: "truncate-wrap td-grid-name" },
83 83 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
84 84 { data: {"_": "desc",
85 85 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
86 86 { data: {"_": "last_change",
87 87 "sort": "last_change_raw",
88 88 "type": Number}, title: "${_('Last Change')}", className: "td-time" },
89 { data: {"_": "last_changeset",
90 "sort": "last_changeset_raw",
91 "type": Number}, title: "", className: "td-hash" },
89 92 { data: {"_": "owner",
90 93 "sort": "owner"}, title: "${_('Owner')}", className: "td-user" }
91 94 ],
@@ -109,7 +112,7 b''
109 112 pageLength: ${c.visual.dashboard_items},
110 113 columns: [
111 114 { data: {"_": "name",
112 "sort": "name_raw"}, title: "${_('Name')}", className: "truncate-wrap td-componentname" },
115 "sort": "name_raw"}, title: "${_('Name')}", className: "truncate-wrap td-grid-name" },
113 116 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
114 117 { data: {"_": "desc",
115 118 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
General Comments 0
You need to be logged in to leave comments. Login now