26 Commits

Author SHA1 Message Date
cca349512e Fixes #3979: Alert widget in advanced app is now able to display multiple flash messages of the same type 2014-06-20 14:43:36 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
06c3086d0a Fixed where we remove invalid items 2014-02-11 15:20:53 -06:00
2ee8f89482 one more change 2014-02-11 15:11:22 -06:00
b906121e31 Maybe better formatting? 2014-02-11 15:10:28 -06:00
bc394198e2 Reformatting code with tabs 2014-02-11 14:47:42 -06:00
2a282c64be Added in an isset check because if you set a flash type that is not in our expected index it will throw a undefined index error 2014-02-11 14:39:36 -06:00
03c3775865 Fix typo 2014-02-06 19:55:58 +02:00
83dfce63b8 fixes #1888: updated Alert phpdoc 2014-01-12 20:25:06 +04:00
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