c26ebed13f
Merge pull request #1250 from kartik-v/patch-1
...
Update Alert.php to display multiple flash messages for the session.
2013-11-21 02:20:44 -08: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
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
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
7450fc1000
Small edit for consistency with frontend config.
...
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
2013-11-20 09:26:51 +09:00
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
2013-11-19 16:33:52 -05:00
11727d52bd
Duplicate
2013-11-19 11:37:43 +01:00
4d54319e35
Duplicate
2013-11-19 10:56:47 +01:00
83ab0f0655
minor refactoring
2013-11-16 20:39:51 -05:00
ad6411cae2
Fixed LoginForm::getUserByUsername
2013-11-17 02:19:05 +04:00
5795522fc2
Use Yii::$app->user->login result in LoginForm
2013-11-16 22:16:24 +04:00
5b36503ca8
One less SQL query for login sequence in basic and advanced apps
2013-11-16 19:39:11 +04:00
3106105ed0
changed color setting.
2013-11-14 15:36:38 -05:00
c7b430cf55
removed extra line.
2013-11-14 12:42:27 -05:00
8775e25ca6
Added readme and updated test helper classes.
2013-11-14 11:11:51 -05:00
220e6dc42d
Added readme about tests.
2013-11-14 11:05:09 -05:00
cd7a4a6745
fixed functional test.
2013-11-14 10:36:35 -05:00
4c4f7bd708
Move AppAsset from config to assets directory
2013-11-13 18:17:05 +02:00
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
75dc290a24
Fixes #1193
2013-11-13 08:31:49 -05:00
f57b3536a2
Fixed apps rules
2013-11-13 11:41:25 +02:00
ecc557ef92
Refactor all models to new rules format
2013-11-12 16:39:23 +02:00
016d796e95
advanced app: go back after login, not home
2013-11-12 11:07:14 +01:00
93dd629411
Fix apps phpDoc and short tags
2013-11-12 06:24:07 +02:00
03d70b6e7e
Update main.php
2013-11-12 05:21:06 +02:00
c8be05665f
Fixes #1122 : removed init from post-install-cmd-script of composer.
2013-11-08 23:58:58 -05:00
f09c78aad9
save security keys as a serialized string instead of exported variable.
2013-11-08 21:35:51 -05:00
998cf7e675
updated apps to use the mail component.
2013-11-07 23:01:13 -05:00
f2484fd616
Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions
2013-11-07 01:19:36 +04:00
d3f5d34819
Fixed advanced app error view
2013-11-07 01:15:01 +04:00
927e9dddb4
Refactored View
2013-11-06 22:52:27 +04:00
48600b8edd
Fixed typo.
2013-11-03 00:49:01 -04:00
83a937990c
moved bootstrap to extension
2013-11-03 00:40:06 -04:00
6aa45b34d0
updated dependency.
2013-11-03 00:25:31 -04:00
1500f978b0
Fixed dependency of apps
2013-11-02 23:00:13 -04:00
3caf59b1bf
fixed extension list file location.
2013-11-02 16:04:38 -04:00
e5d5ab5655
updated license information.
2013-11-02 15:37:25 -04:00
1d092d1755
Changed the exit status to normal.
2013-11-02 13:06:04 -04:00
91b61692c5
Better alias paths for advanced application
2013-11-01 03:16:34 +04:00
0d04846c08
php short echo syntax
2013-10-28 23:57:40 +03:00
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
2013-10-28 23:51:48 +03:00