Mailing List Archive

[bricoleurs/bricolage] d13ea3: Add reversion to desk view.
Branch: refs/heads/master
Home: http://github.com/bricoleurs/bricolage

Commit: d13ea3e24cb747cf3a58b624745b5f2b15d16f0c
http://github.com/bricoleurs/bricolage/commit/d13ea3e24cb747cf3a58b624745b5f2b15d16f0c
Author: David E. Wheeler <david@justatheory.com>
Date: 2010-01-19 (Tue, 19 Jan 2010)

Changed paths:
M comp/widgets/desk/desk_item.html
M lib/Bric/App/Callback/Desk.pm
M lib/Bric/App/Callback/Profile/Media.pm
M lib/Bric/App/Callback/Profile/Story.pm
M lib/Bric/App/Callback/Profile/Template.pm
A lib/Bric/App/Callback/Util/Asset.pm
M lib/Bric/Biz/Asset/Template.pm
M lib/Bric/Changes.pod
M lib/Bric/Util/Language/de_de.pm
M lib/Bric/Util/Language/it_it.pm
M lib/Bric/Util/Language/pt_pt.pm
M lib/Bric/Util/Language/ru_ru.pm
M lib/Bric/Util/Language/zh_cn.pm
M lib/Bric/Util/Language/zh_tw.pm

Log Message:
-----------
Add reversion to desk view.

Added the "and Revert" or "and Delete" option to the "Check In" menu on desk/My Workspace views. This saves the user from having to click "Edit" and then "Cancel Checkout". Suggested by Matt Rolf and Phillip Smith. In order to make this happen, the code that handles cancelling a checkout, which was duplicated nearly verbatim in the callbacks for the story, media, and template profiles has been factored out into a new class `Bric::App::Callback::Util::Asset`. [#62 state:resolved]