1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 21:10:56 +01:00
phorge-phorge/webroot/rsrc/js/application/conpherence
Bob Trahan a161617d8e Conpherence - make the files widget purdy-ish
Summary:
does the title and also a few other small tweaks

- kills the init js behavior; now its part of menu where it belongs.
- adds the underline to the icon when its toggled in the widget menu
- fixed JS initialization errors on the "create conpherence" page. Note I still like keeping all that init stuff in one function because its typing the same data a bunch to be passed over to the JS layer. Other ways to accomplish this obvi...

Only fun wrinkle here is I think Chad intended me to display "when the file was attached". Instead, I display when the file was *uploaded*. I think this jives better with our version where you can't delete and all that. Files are pretty powerful, long-living objects in Phabricator land.

Test Plan: added files to a conpherence and noted widget loaded updated okay. added a file with no author (generated by the system) and verified it still rendered okay. switched between conpherences and verified proper data in each files widget. uploaded image and text files to check the icons were correct.

Reviewers: epriestley, chad

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2530

Differential Revision: https://secure.phabricator.com/D5337
2013-03-15 23:41:36 -07:00
..
behavior-drag-and-drop-photo.js Conpherence - add crop 2013-02-06 14:03:52 -08:00
behavior-menu.js Conpherence - make the files widget purdy-ish 2013-03-15 23:41:36 -07:00
behavior-pontificate.js Conpherence - Make the files widget more useful and ajaxify some more stuff 2013-03-08 10:40:06 -08:00
behavior-widget-pane.js Conpherence - some cleanup type stuff 2013-03-13 13:03:51 -07:00