##// 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 "name_raw": group.group_name,
728 "name_raw": group.group_name,
729 "last_change": last_change(group.last_db_change),
729 "last_change": last_change(group.last_db_change),
730 "last_change_raw": datetime_to_time(group.last_db_change),
730 "last_change_raw": datetime_to_time(group.last_db_change),
731
732 "last_changeset": "",
733 "last_changeset_raw": "",
734
731 "desc": desc(group.description_safe, group.personal),
735 "desc": desc(group.description_safe, group.personal),
732 "top_level_repos": 0,
736 "top_level_repos": 0,
733 "owner": user_profile(group.user.username)
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 &.td-componentname {
149 &.td-componentname {
145 white-space: nowrap;
150 white-space: nowrap;
146 }
151 }
@@ -79,13 +79,16 b''
79 order: [[ 0, "asc" ]],
79 order: [[ 0, "asc" ]],
80 columns: [
80 columns: [
81 { data: {"_": "name",
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 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
83 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
84 { data: {"_": "desc",
84 { data: {"_": "desc",
85 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
85 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
86 { data: {"_": "last_change",
86 { data: {"_": "last_change",
87 "sort": "last_change_raw",
87 "sort": "last_change_raw",
88 "type": Number}, title: "${_('Last Change')}", className: "td-time" },
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 { data: {"_": "owner",
92 { data: {"_": "owner",
90 "sort": "owner"}, title: "${_('Owner')}", className: "td-user" }
93 "sort": "owner"}, title: "${_('Owner')}", className: "td-user" }
91 ],
94 ],
@@ -109,7 +112,7 b''
109 pageLength: ${c.visual.dashboard_items},
112 pageLength: ${c.visual.dashboard_items},
110 columns: [
113 columns: [
111 { data: {"_": "name",
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 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
116 { data: 'menu', "bSortable": false, className: "quick_repo_menu" },
114 { data: {"_": "desc",
117 { data: {"_": "desc",
115 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
118 "sort": "desc"}, title: "${_('Description')}", className: "td-description" },
General Comments 0
You need to be logged in to leave comments. Login now