17 Commits

Author SHA1 Message Date
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
817cbc175a Comments cleanup.
Cleaned up a few comments ... hope its not my OCD again... :-)
2013-11-21 15:42:52 +05:30
b979d3b024 Reverted closeButton
Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
2013-11-21 15:36:43 +05:30
62493188a2 Nomenclature and code realignment.
1. Renamed closeButton to closeButtonOptions. 
2. Generate unique id for each alert box.
3. Moved parent init to the top.
2013-11-21 15:32:07 +05:30
2bff5f80bc Alert types for flash messages are now configurable.
Each flash variable can be mapped to a bootstrap alert type through a configuration array passed to this widget.
2013-11-20 23:15:16 +05:30
8ff4c3d46d Code & minor bug cleanup.
Cleaned up redundant code (and a typo missed earlier).
2013-11-20 22:53:08 +05:30
8a436c4acb Code cleanup.
Removed redundant declarations and checks in the code.
2013-11-20 22:45:49 +05:30
c550628558 CSS Class assignment correction # 2.
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
2013-11-20 22:35:35 +05:30
affa9589dc CSS Class assignment corrected.
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
2013-11-20 19:58:25 +05:30
70f41387b6 Update Alert.php to add some refinements and clean up bugs.
Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
2013-11-20 19:39:55 +05:30
1c56edd000 Update Alert.php 2013-11-20 18:39:37 +05:30
8fc77afc63 Update Alert.php to display multiple flash messages for the session.
The previous alert widget within the advanced/basic app does not render multiple flash messages. The current implementation allows display of all flash messages assigned through setFlash. Also a validation is done for allowed bootstrap alert types.
2013-11-20 17:50:47 +05:30
e1061f19ac Advanced application template: Delete flash message after it was displayed 2013-09-24 12:07:41 +04:00
fae8084524 Update alert widget 2013-08-21 11:48:01 +04:00
42397df054 fixed code style 2013-07-22 14:36:48 +04:00
f4b10b56b6 fixes #651 2013-07-22 12:46:58 +04:00
b02f01f6be More on advanced app template:
- Unified way to use Alert
- Added link to restore password to login form
- Refactored restore password
2013-07-21 22:10:31 +04:00