Mailing List Archive

[bricoleurs/bricolage] dbc033: Show two lines of context for closed relateds.
Branch: refs/heads/master
Home: https://github.com/bricoleurs/bricolage

Commit: dbc033807b1635bce6f68c538df1f9770bc9a4b2
https://github.com/bricoleurs/bricolage/commit/dbc033807b1635bce6f68c538df1f9770bc9a4b2
Author: David E. Wheeler <david@justatheory.com>
Date: 2011-04-18 (Mon, 18 Apr 2011)

Changed paths:
M comp/media/js/lib.js
M comp/widgets/container_prof/_related.html
M comp/widgets/summary/media_meta.html
M comp/widgets/summary/story_meta.html
M comp/widgets/summary/template_meta.html

Log Message:
-----------
Show two lines of context for closed relateds.

Just duping the first two lines of the summary: A definition list with the
related document title and element type. It gets toggled on whenever the
longer summary is toggled closed and vice versa. It looks pretty good in the
finished state, but jumps around a bit during the animation, but I'm not sure
it's worth worrying about.

In passing, localize the "ID" and "UUID" labels in the `title` attribute of
the summary `<dl>` element, and remove an unneeded JavaScript variable.