remove useless theme_node_filter_form()

Jody Lynn - March 29, 2009 - 23:12
Project:Drupal
Version:7.x-dev
Component:node system
Category:bug report
Priority:minor
Assigned:Unassigned
Status:duplicate
Issue tags:Usability
Description

Using Garland there is a bullet point showing on the filters on admin/content/node. list-style-type was already set to none for the list, but we need list-style-image also set to none to deal with removing image bullet points.

Before and after screenshots and patch attached

AttachmentSizeStatusTest resultOperations
node-filters.patch451 bytesIdleFailed: Failed to install HEAD.View details | Re-test
Picture 2.png25.31 KBIgnoredNoneNone
Picture 1.png24.57 KBIgnoredNoneNone

#1

System Message - April 4, 2009 - 00:40
Status:needs review» needs work

The last submitted patch failed testing.

#2

Jody Lynn - July 5, 2009 - 23:13
Title:Review extraneous bullet point on admin/content/node» Remove extraneous bullet point on admin/content/node
Status:needs work» needs review

This bullet point is still bugging me.

AttachmentSizeStatusTest resultOperations
node-filter.patch522 bytesIdlePassed: 11863 passes, 0 fails, 0 exceptionsView details | Re-test

#3

ZoeN - July 24, 2009 - 00:01
Title:Remove extraneous bullet point on admin/content/node» Remove extraneous bullet point on admin/content/content
Status:needs review» needs work

That bullet point bugs me too. It must be destroyed!!

This patch doesn't work with current HEAD. Its CSS fix depends on the offending bulleted list being inside div#node-admin-filter. But div#node-admin-filter is empty.

(Note: the content list has moved from admin/content/node to admin/content/content. I've updated that in the title of this issue.)

#4

ZoeN - July 24, 2009 - 00:08
Status:needs work» needs review

chx helped me track this weirdness down: function theme_node_filter_form() is useless. The filters are already themed by theme_node_filters(). So here's a new patch, which removes the function theme_node_filter_form() altogether in favor of theme_node_filters(). With this patch, div#node-admin-filter is wrapped around the filter form, so that your CSS fix applies successfully to the list of filters - and removes that evil, evil bullet point.

Please review! Be cruel!

AttachmentSizeStatusTest resultOperations
node-filter_1.patch1.99 KBIdlePassed: 11863 passes, 0 fails, 0 exceptionsView details | Re-test

#5

Bojhan - July 25, 2009 - 00:23

hah, yhea lets remove that.

#6

stBorchert - July 25, 2009 - 09:20
Title:Remove extraneous bullet point on admin/content/content» remove useless theme_node_filter_form()

The bullet will be removed with #356240: bullets appearing on UL lists with list-style-type: none.
Your patch is removing a function (and not all occureneces of this nasty bullet).

#7

Bojhan - July 25, 2009 - 11:38
Status:needs review» duplicate

Oke, lets fix it in the other issue then.

 
 

Drupal is a registered trademark of Dries Buytaert.