I believe you can set the display of the anchor to block. That should
fill the outer block.
Regards
Rajeev J Sebastian
Yes, it's worth it. Or alternatively you can blog this.
--
Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov,
MSN: bu...@live.com
That's a usability disaster. You accidentally click anywhere to give
focus to the window and it runs off to some random link. It's just one
more thing that Trac gets completely wrong.
Malcolm
>> Even better, make the entire row the link (like trac). I don't see
>> why only the value of the first field should be the link.
MT> That's a usability disaster. You accidentally click anywhere to
MT> give focus to the window
Click-to-focus *IS* a usability disaster.
P.S.: Fitt's law.
--
Click to raise is not, however, and that's when this is applicable.
Regards,
Malcolm
There is no reason to sit on this, especially while the sprint is
going. I just wrote up a 2 line patch [1] that changes the display to
block. It is a simple enough change. The next step is getting some
review and committer time. This patch isn't critical for the 1.0
launch, so the later step might be hard, either way it is now in trac
[2] and will get some attention sometime.
[1] http://code.djangoproject.com/attachment/ticket/7733/7733-larger-admin-clickable-area.diff
[2] http://code.djangoproject.com/ticket/7733
Thanks, Michael
What about supporting custom urls for some fields in the future?
(e.g. linking to an foreign object for model.ForeignKey)
I would make the whole field clickable, every other field can be made
clickable by configuration, if someone wants. I don't like the idea of
making the whole row clickable.
Greetings, David Danier
I know, thats what I meant. To make the whole row clickable you have to
put all fields which are in list_display into list_display_links, too.
So making the whole field (<td>) clickable should really be enough, the
row itself (everything inside <tr>) does not need to be clickable by
default.
Greetings, David Danier
* standard edit links and fields listed in 'list_display_links' fill
the whole cell
* any other links (eg using 'allow_tags' on a field) are not affected
* The dashboard also has links that fill the whole cell (but not the
edit and delete links)
Anywhere else in admin needing some click-friendly links?
--
Will Hardy
http://www.willhardy.com.au