Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 Dec 2009 at 01:08 UTC
Updated:
17 Jan 2010 at 00:50 UTC
Jump to comment: Most recent file
We currently have 'empty row' message functionality in theme_tablesort, but we should standardize this and apply it to theme_table as well. Plus, we can do fun things and apply an 'empty' class.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | 648410-followup-D7.patch | 5.4 KB | dave reid |
| #13 | 648410-followup-D7.patch | 5.4 KB | dave reid |
| #4 | 648410-table-empty-row-D7.patch | 28.11 KB | dave reid |
| #1 | 648410-table-empty-row-D7.patch | 21.48 KB | dave reid |
Comments
Comment #1
dave reidHooray! And took an opportunity to standardize our empty row text as 'No [thing] available.' and double checked that any empty messages with an add link (like 'Add new content type') have new [thing] local actions on the page.
Comment #2
dave reidComment #4
dave reidFixed the test failures (changes in expected strings).
Comment #5
dave reidComment #7
mattyoung commented~
Comment #8
dries commentedNice clean-up. Making an exception for it. Committed.
Comment #10
Bojhan commented#664394: Convert remaining tables to "Empty table pattern" - This patch broke the UI standard. Please add Usability tag, if it changes a UI element.
Comment #11
dave reid@Bojhan: Is this documented on the usability patterns site? I'll help fix this back but we were inconsistant within core with a minority of the tables including an 'Add' link. I thought this is why we had local actions like the 'Add content' on the Content listing page.
Comment #12
Bojhan commentedCough - what site? :) See http://drupal.org/node/501452 and then Tables.. We do this as basically an extra call to action, its just a 0.5 second win over local actions.
Comment #13
dave reidPatch re-adds all the removed add action links to the empty table rows.
Comment #14
casey commentedNot sure if possible, but shouldn't we use something like:
Comment #15
casey commentedOk I am told previous post should be discussed in a follow-up.
Patch in #13 looks good to me.
Only thing I noticed is a forgotten space between , and 'attributes'
Comment #16
dave reidGood catch, even though that's what the original code was. Based on #15 marking this as RTBC.
Comment #17
webchickCommitted to HEAD.