kirgudu_base 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/kirgudu_base/dynamicEvents.js +2 -1
- data/app/assets/javascripts/kirgudu_base/jquery.container-management.js +241 -0
- data/app/assets/javascripts/kirgudu_base/jquery.fancybox copia.js +2020 -0
- data/app/assets/javascripts/kirgudu_base/scripts_nrg.js +300 -383
- data/app/controllers/kirgudu_base/admin_controller.rb +1 -44
- data/app/controllers/kirgudu_base/application_controller.rb +135 -92
- data/app/controllers/kirgudu_base/cabinet_controller.rb +35 -35
- data/app/controllers/kirgudu_base/security/authentications_controller.rb +452 -0
- data/app/controllers/kirgudu_base/security/email_confirmations_controller.rb +46 -0
- data/app/helpers/kirgudu_base/application_helper.rb +25 -0
- data/app/helpers/kirgudu_base/authentication_form_builder.rb +76 -0
- data/app/helpers/kirgudu_base/controllers/{basic_actions_with_parent.rb → OLD_basic_actions.rb} +39 -54
- data/app/helpers/kirgudu_base/controllers/basic_actions.rb +967 -161
- data/app/helpers/kirgudu_base/controllers/container_items_management_actions.rb +118 -40
- data/app/helpers/kirgudu_base/controllers/container_items_sorting_actions.rb +2 -2
- data/app/helpers/kirgudu_base/controllers/dynamic_pages.rb +147 -11
- data/app/helpers/kirgudu_base/form_builder.rb +3 -1
- data/app/helpers/kirgudu_base/gui_helper.rb +10 -5
- data/app/helpers/kirgudu_base/models/exports.rb +122 -122
- data/app/helpers/kirgudu_base/models/scopes.rb +5 -0
- data/app/mailers/authentications_mailer.rb +53 -0
- data/app/models/kirgudu_base/base_model.rb +47 -14
- data/app/models/kirgudu_base/dynamic_pages/builder.rb +0 -8
- data/app/models/kirgudu_base/dynamic_pages/controller_link.rb +4 -1
- data/app/models/kirgudu_base/dynamic_pages/controller_link_builder.rb +2 -1
- data/app/models/kirgudu_base/dynamic_pages/controller_link_id.rb +6 -6
- data/app/models/kirgudu_base/dynamic_pages/controller_link_id_builder.rb +6 -6
- data/app/models/kirgudu_base/dynamic_pages/element.rb +4 -5
- data/app/models/kirgudu_base/dynamic_pages/entry_builder.rb +2 -2
- data/app/models/kirgudu_base/dynamic_pages/event_if_block_builder.rb +1 -1
- data/app/models/kirgudu_base/dynamic_pages/form_builder.rb +2 -2
- data/app/models/kirgudu_base/dynamic_pages/list.rb +2 -0
- data/app/models/kirgudu_base/dynamic_pages/list_builder.rb +7 -3
- data/app/models/kirgudu_base/dynamic_pages/management_settings.rb +30 -0
- data/app/models/kirgudu_base/dynamic_pages/management_settings_builder.rb +47 -0
- data/app/models/kirgudu_base/dynamic_pages/menu.rb +9 -5
- data/app/models/kirgudu_base/dynamic_pages/menu_builder.rb +8 -5
- data/app/models/kirgudu_base/dynamic_pages/menu_item.rb +22 -6
- data/app/models/kirgudu_base/dynamic_pages/menu_items_block_builder.rb +9 -4
- data/app/models/kirgudu_base/dynamic_pages/menu_section.rb +38 -0
- data/app/models/kirgudu_base/dynamic_pages/menu_section_builder.rb +36 -0
- data/app/models/kirgudu_base/dynamic_pages/page.rb +6 -2
- data/app/models/kirgudu_base/dynamic_pages/page_builder.rb +18 -0
- data/app/models/kirgudu_base/dynamic_pages/relation.rb +23 -0
- data/app/models/kirgudu_base/dynamic_pages/relation_builder.rb +35 -0
- data/app/models/kirgudu_base/dynamic_pages/sorting_settings.rb +31 -0
- data/app/models/kirgudu_base/dynamic_pages/sorting_settings_builder.rb +48 -0
- data/app/models/kirgudu_base/security/autheintication.rb +4 -0
- data/app/models/kirgudu_base/security/authentication.rb +6 -7
- data/app/models/kirgudu_base/security/email_confirmation.rb +7 -0
- data/app/models/kirgudu_base/security/restore_password_code.rb +5 -0
- data/app/models/kirgudu_base/security/user.rb +2 -0
- data/app/models/kirgudu_base/security.rb +6 -7
- data/app/models/kirgudu_base/settings/group.rb +22 -0
- data/app/models/kirgudu_base/settings/option.rb +44 -0
- data/app/models/kirgudu_base/settings/settings_manager.rb +69 -0
- data/app/models/kirgudu_base/settings/value.rb +36 -0
- data/app/views/admin_templates/default/admin/layouts/application.html.erb +6 -4
- data/app/views/admin_templates/default/admin/system/settings/groups/edit.html.erb +9 -9
- data/app/views/admin_templates/default/admin/system/settings/groups/new.html.erb +1 -1
- data/app/views/admin_templates/default/admin/system/settings/options/edit.html.erb +1 -1
- data/app/views/admin_templates/default/admin/system/settings/options/new.html.erb +1 -1
- data/app/views/admin_templates/default/admin/system/settings/values/edit.html.erb +1 -1
- data/app/views/admin_templates/default/admin/system/settings/values/new.html.erb +1 -1
- data/app/views/admin_templates/erp/admin/shared/_top_nav_bar.html.erb +1 -3
- data/app/views/admin_templates/erp/admin/shared/entry_edit_form_renderer.html.erb +1 -1
- data/app/views/admin_templates/erp/admin/shared/entry_new_form_renderer.html.erb +1 -1
- data/app/views/admin_templates/good/admin/layouts/OLD_application.html.erb +14 -14
- data/app/views/admin_templates/good/admin/layouts/application.html.erb +11 -113
- data/app/views/admin_templates/good/admin/shared/_left_menu.html.erb +74 -63
- data/app/views/admin_templates/good/{zapanel/files/New Adobe Photoshop Image 12.psd → admin/shared/_left_menu_item.html.erb} +0 -0
- data/app/views/admin_templates/good/admin/shared/_left_menu_section.html.erb +21 -0
- data/app/views/admin_templates/good/admin/shared/render_new_OLD.html.erb +90 -0
- data/app/views/admin_templates/good/admin/shared/renderer_edit.html.erb +44 -13
- data/app/views/admin_templates/good/admin/shared/renderer_edit_OLD.html.erb +106 -0
- data/app/views/admin_templates/good/admin/shared/renderer_entries_list.html.erb +39 -18
- data/app/views/admin_templates/good/admin/shared/renderer_entries_list_with_parent.html.erb +4 -4
- data/app/views/admin_templates/good/admin/shared/renderer_management.html.erb +164 -0
- data/app/views/admin_templates/good/admin/shared/renderer_new.html.erb +40 -10
- data/app/views/admin_templates/good/admin/shared/renderer_show.html.erb +170 -58
- data/app/views/admin_templates/good/admin/shared/renderer_show_OLD.html.erb +159 -0
- data/app/views/admin_templates/good/admin/shared/renderer_sorting.html.erb +30 -0
- data/app/views/admin_templates/good/kirgudu_base/authentications/login.html.erb +13 -13
- data/app/views/admin_templates/good/kirgudu_base/authentications/register.html.erb +1 -1
- data/app/views/admin_templates/good/kirgudu_base/old/login_page.html.erb +7 -7
- data/app/views/admin_templates/good_flexy/admin/layouts/application.html.erb +17 -16
- data/app/views/admin_templates/good_flexy/admin/shared/_left_menu.html.erb +7 -0
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list.html.erb +25 -17
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_edit.html.erb +34 -13
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_new.html.erb +31 -10
- data/app/views/admin_templates/good_flexy/admin/shared/renderer_show.html.erb +67 -52
- data/config/locales/kirgudu_base.ru.yml +92 -0
- data/config/routes.rb +16 -16
- data/db/migrate/20140413134252_create_kirgudu_base_security_authentications.rb +15 -0
- data/db/migrate/20140413152144_create_kirgudu_base_security_email_confirmations.rb +17 -0
- data/db/migrate/20140413201121_add_confirmations_kirgudu_base_security_users.rb +14 -0
- data/db/migrate/20140415093106_create_kirgudu_base_security_restore_password_codes.rb +20 -0
- data/lib/kirgudu_base.rb +2 -2
- data/test/fixtures/kirgudu_base/kirgudu_base/security/autheintications.yml +11 -0
- data/test/fixtures/kirgudu_base/security/applications.yml +21 -0
- data/test/fixtures/kirgudu_base/security/autheintications.yml +11 -0
- data/test/fixtures/kirgudu_base/security/authentications.yml +11 -0
- data/test/fixtures/kirgudu_base/security/email_confirmations.yml +13 -0
- data/test/fixtures/kirgudu_base/security/restore_password_codes.yml +13 -0
- data/test/models/kirgudu_base/kirgudu_base/security/autheintication_test.rb +9 -0
- data/test/models/kirgudu_base/security/application_test.rb +9 -0
- data/test/models/kirgudu_base/security/autheintication_test.rb +9 -0
- data/test/models/kirgudu_base/security/authentication_test.rb +9 -0
- data/test/models/kirgudu_base/security/email_confirmation_test.rb +9 -0
- data/test/models/kirgudu_base/security/restore_password_code_test.rb +9 -0
- metadata +102 -79
- data/app/assets/javascripts/kirgudu_base/jquery.fancybox.pack.js +0 -45
- data/app/controllers/kirgudu_base/authentications_controller.rb +0 -157
- data/app/views/admin_templates/good/zapanel/404.html +0 -386
- data/app/views/admin_templates/good/zapanel/billing.html +0 -550
- data/app/views/admin_templates/good/zapanel/blank-page.html +0 -343
- data/app/views/admin_templates/good/zapanel/buttons.html +0 -1018
- data/app/views/admin_templates/good/zapanel/calendars.html +0 -451
- data/app/views/admin_templates/good/zapanel/cart.html +0 -522
- data/app/views/admin_templates/good/zapanel/charts.html +0 -611
- data/app/views/admin_templates/good/zapanel/collapse.html +0 -555
- data/app/views/admin_templates/good/zapanel/contact.php +0 -102
- data/app/views/admin_templates/good/zapanel/dashboard.html +0 -985
- data/app/views/admin_templates/good/zapanel/dashboard2.html +0 -1091
- data/app/views/admin_templates/good/zapanel/dashboard3.html +0 -1079
- data/app/views/admin_templates/good/zapanel/data/movies.json +0 -1
- data/app/views/admin_templates/good/zapanel/faq.html +0 -435
- data/app/views/admin_templates/good/zapanel/file-manager.html +0 -358
- data/app/views/admin_templates/good/zapanel/files/index.php +0 -0
- data/app/views/admin_templates/good/zapanel/font-awesome/less/bootstrap.less +0 -84
- data/app/views/admin_templates/good/zapanel/font-awesome/less/core.less +0 -129
- data/app/views/admin_templates/good/zapanel/font-awesome/less/extras.less +0 -93
- data/app/views/admin_templates/good/zapanel/font-awesome/less/font-awesome-ie7.less +0 -1953
- data/app/views/admin_templates/good/zapanel/font-awesome/less/font-awesome.less +0 -33
- data/app/views/admin_templates/good/zapanel/font-awesome/less/icons.less +0 -381
- data/app/views/admin_templates/good/zapanel/font-awesome/less/mixins.less +0 -48
- data/app/views/admin_templates/good/zapanel/font-awesome/less/path.less +0 -14
- data/app/views/admin_templates/good/zapanel/font-awesome/less/variables.less +0 -735
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_bootstrap.scss +0 -84
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_core.scss +0 -129
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_extras.scss +0 -93
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_icons.scss +0 -381
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_mixins.scss +0 -48
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_path.scss +0 -14
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/_variables.scss +0 -734
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/font-awesome-ie7.scss +0 -1953
- data/app/views/admin_templates/good/zapanel/font-awesome/scss/font-awesome.scss +0 -33
- data/app/views/admin_templates/good/zapanel/form.html +0 -790
- data/app/views/admin_templates/good/zapanel/gallery.html +0 -392
- data/app/views/admin_templates/good/zapanel/grids.html +0 -574
- data/app/views/admin_templates/good/zapanel/hosting-dashboard.html +0 -448
- data/app/views/admin_templates/good/zapanel/icon.html +0 -722
- data/app/views/admin_templates/good/zapanel/inbox.html +0 -375
- data/app/views/admin_templates/good/zapanel/index.html +0 -48
- data/app/views/admin_templates/good/zapanel/invoice.html +0 -423
- data/app/views/admin_templates/good/zapanel/js/proxy/elFinderSupportVer1.js +0 -338
- data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-close.png +0 -0
- data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-next.png +0 -0
- data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-prev.png +0 -0
- data/app/views/admin_templates/good/zapanel/notification.html +0 -400
- data/app/views/admin_templates/good/zapanel/order-recieved.html +0 -348
- data/app/views/admin_templates/good/zapanel/php/MySQLStorage.sql +0 -23
- data/app/views/admin_templates/good/zapanel/php/connector.php +0 -44
- data/app/views/admin_templates/good/zapanel/php/elFinder.class.php +0 -1103
- data/app/views/admin_templates/good/zapanel/php/elFinderConnector.class.php +0 -133
- data/app/views/admin_templates/good/zapanel/php/elFinderVolumeDriver.class.php +0 -3370
- data/app/views/admin_templates/good/zapanel/php/elFinderVolumeLocalFileSystem.class.php +0 -835
- data/app/views/admin_templates/good/zapanel/php/elFinderVolumeMySQL.class.php +0 -896
- data/app/views/admin_templates/good/zapanel/php/mime.types +0 -512
- data/app/views/admin_templates/good/zapanel/price-table.html +0 -400
- data/app/views/admin_templates/good/zapanel/profile.html +0 -387
- data/app/views/admin_templates/good/zapanel/progressbar.html +0 -555
- data/app/views/admin_templates/good/zapanel/range-slider.html +0 -440
- data/app/views/admin_templates/good/zapanel/ribbon-grids.html +0 -491
- data/app/views/admin_templates/good/zapanel/sale-purchase-dashboard.html +0 -803
- data/app/views/admin_templates/good/zapanel/search.html +0 -370
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-close.png +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-loading.gif +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-next.png +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-pause.png +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-play.png +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-playvideo.png +0 -0
- data/app/views/admin_templates/good/zapanel/skins/default/lightbox-prev.png +0 -0
- data/app/views/admin_templates/good/zapanel/slider.html +0 -453
- data/app/views/admin_templates/good/zapanel/tables.html +0 -470
- data/app/views/admin_templates/good/zapanel/typography.html +0 -746
@@ -28,39 +28,40 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
<!-- Jquery -->
|
31
|
-
<script src="/assets/jquery.js"></script>
|
31
|
+
<script src="/assets/kirgudu_base/jquery.js"></script>
|
32
32
|
<!-- Scroll Bar -->
|
33
|
-
<script src="/assets/jquery.mCustomScrollbar.concat.min.js"></script>
|
33
|
+
<script src="/assets/kirgudu_base/jquery.mCustomScrollbar.concat.min.js"></script>
|
34
34
|
<!-- Circle Chart -->
|
35
35
|
<!--<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>-->
|
36
|
-
<script src="/assets/jquery.easing.min.js"></script>
|
36
|
+
<script src="/assets/kirgudu_base/jquery.easing.min.js"></script>
|
37
37
|
<!-- Bootstrap -->
|
38
38
|
<!--<script type="text/javascript" src="/assets/bootstrap.js"></script>-->
|
39
39
|
<!-- Script -->
|
40
|
-
<script type="text/javascript" src="/assets/script.js"></script>
|
40
|
+
<script type="text/javascript" src="/assets/kirgudu_base/script.js"></script>
|
41
41
|
<!-- Chart -->
|
42
|
-
<script src="/assets/jquery.flot.min.js"></script>
|
42
|
+
<script src="/assets/kirgudu_base/jquery.flot.min.js"></script>
|
43
43
|
<!-- Side Navigation -->
|
44
|
-
<script src="/assets/side-navigation-tag.js"></script>
|
44
|
+
<script src="/assets/kirgudu_base/side-navigation-tag.js"></script>
|
45
45
|
<!-- Sparkline -->
|
46
|
-
<script type="text/javascript" src="/assets/jquery.sparkline.min.js"></script>
|
46
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.sparkline.min.js"></script>
|
47
47
|
<!-- Jquery UI Custom -->
|
48
|
-
<script src="/assets/jquery-ui.js"></script>
|
48
|
+
<script src="/assets/kirgudu_base/jquery-ui.js"></script>
|
49
49
|
<!-- Easy Pie Chart -->
|
50
|
-
<script src="/assets/jquery.easypiechart.min.js"></script>
|
50
|
+
<script src="/assets/kirgudu_base/jquery.easypiechart.min.js"></script>
|
51
51
|
<!-- Sidebar Add Tag -->
|
52
|
-
<script type="text/javascript" src="/assets/jquery.tagsinput.js"></script>
|
52
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.tagsinput.js"></script>
|
53
53
|
|
54
|
-
<script type="text/javascript" src="/assets/jquery.switchButton.js"></script>
|
54
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.switchButton.js"></script>
|
55
55
|
|
56
|
-
<script type="text/javascript" src="/assets/jquery.autocompleteWithId.js"></script>
|
56
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.autocompleteWithId.js"></script>
|
57
57
|
|
58
|
-
<script type="text/javascript" src="/assets/scripts_nrg.js"></script>
|
59
|
-
<script type="text/javascript" src="/assets/jquery.json.min.js"></script>
|
58
|
+
<script type="text/javascript" src="/assets/kirgudu_base/scripts_nrg.js"></script>
|
59
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.json.min.js"></script>
|
60
60
|
|
61
|
-
<script type="text/javascript" src="/assets/dynamicEvents.js"></script>
|
61
|
+
<script type="text/javascript" src="/assets/kirgudu_base/dynamicEvents.js"></script>
|
62
|
+
|
63
|
+
<script type="text/javascript" src="/assets/kirgudu_base/jquery.colorbox.js"></script>
|
62
64
|
|
63
|
-
<script type="text/javascript" src="/assets/jquery.colorbox.js"></script>
|
64
65
|
|
65
66
|
|
66
67
|
<!-- Sparklines -->
|
@@ -36,6 +36,7 @@
|
|
36
36
|
|
37
37
|
<li><a title=""><i class="icon-cogs"></i><%= I18n.t("admin.layout.left_menu.common.title") %><span>7</span></a>
|
38
38
|
<ul>
|
39
|
+
<li><a href="<%= ::Admin::Common::ContinentsController.to_url_for %>" title=""><i class="icon-angle-right"></i><%= I18n.t("admin.layout.left_menu.common.continents") %></a></li>
|
39
40
|
<li><a href="<%= ::Admin::Common::CountriesController.to_url_for %>" title=""><i class="icon-angle-right"></i><%= I18n.t("admin.layout.left_menu.common.countries") %></a></li>
|
40
41
|
<li><a href="<%= ::Admin::Common::StatesController.to_url_for %>" title=""><i class="icon-angle-right"></i><%= I18n.t("admin.layout.left_menu.common.states") %></a></li>
|
41
42
|
<li><a href="<%= ::Admin::Common::RegionsController.to_url_for %>" title=""><i class="icon-angle-right"></i><%= I18n.t("admin.layout.left_menu.common.regions") %></a></li>
|
@@ -123,6 +124,12 @@
|
|
123
124
|
</ul>
|
124
125
|
</li>
|
125
126
|
|
127
|
+
<li><a title=""><i class="icon-cogs"></i><%= I18n.t("admin.layout.left_menu.project_management.title") %><span>1</span></a>
|
128
|
+
<ul>
|
129
|
+
<li><a href="<%= ::Admin::System::ProjectsController.to_url_for %>" title=""><i class="icon-angle-right"></i><%= I18n.t("admin.layout.left_menu.project_management.projects") %></a></li>
|
130
|
+
</ul>
|
131
|
+
</li>
|
132
|
+
|
126
133
|
|
127
134
|
<li><a title=""><i class="icon-cogs"></i><%= I18n.t("admin.layout.left_menu.administration.title") %><span>1</span></a>
|
128
135
|
<ul>
|
@@ -1,5 +1,14 @@
|
|
1
1
|
<div class="col-md-12">
|
2
|
-
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new) %>">
|
2
|
+
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new, data[:parent_ids]) %>">
|
3
|
+
<%= I18n.t("common.menus.buttons_menu.new") %>
|
4
|
+
</button>
|
5
|
+
|
6
|
+
<% data[:page].menus[:top_menu].items.each do |menu_item| %>
|
7
|
+
<button class="btn green" type="button" href="<%= menu_item.build_url(self.controller.class, data[:parent_ids]) %>">
|
8
|
+
<%= menu_item.i18n_data_as_string(:label) || I18n.t("common.menus.buttons_menu.#{menu_item.name}") %>
|
9
|
+
</button>
|
10
|
+
<% end if data[:page].menus[:top_menu] %>
|
11
|
+
|
3
12
|
</div>
|
4
13
|
|
5
14
|
<script>
|
@@ -57,7 +66,7 @@
|
|
57
66
|
<%= I18n.t("activerecord.attributes.#{self.controller.entry_class.to_i18n}.id") %>
|
58
67
|
</th>
|
59
68
|
<% end %>
|
60
|
-
<% page.lists[:entries_list].properties.
|
69
|
+
<% data[:page].lists[:entries_list].properties.each_pair do |key, property| %>
|
61
70
|
<th>
|
62
71
|
<%= property.label ? property.i18n_data_as_string(:label) : I18n.t("activerecord.attributes.#{self.controller.entry_class.to_i18n}.#{property.name}") %>
|
63
72
|
</th>
|
@@ -68,7 +77,7 @@
|
|
68
77
|
</tr>
|
69
78
|
</thead>
|
70
79
|
<tbody>
|
71
|
-
<%
|
80
|
+
<% data[:entries].each do |item| %>
|
72
81
|
<tr>
|
73
82
|
<% if @settings_manager.get('additional_use_bulk_action') == true %>
|
74
83
|
<td>
|
@@ -85,16 +94,15 @@
|
|
85
94
|
<%= print_property(item, :id) %>
|
86
95
|
</td>
|
87
96
|
<% end %>
|
88
|
-
<% page.lists[:entries_list].properties.
|
97
|
+
<% data[:page].lists[:entries_list].properties.each_pair do |key, property| %>
|
89
98
|
<td>
|
90
99
|
<%= print_property(item, property.text_value_property || property.name) %>
|
91
100
|
</td>
|
92
101
|
<% end %>
|
93
102
|
<td>
|
94
|
-
<%= link_to "show", self.controller.to_url_for(:show, id: item) %>
|
95
|
-
<%= link_to "edit", self.controller.to_url_for(:edit, id: item) %>
|
96
|
-
<%= link_to "delete", self.controller.to_url_for(:
|
97
|
-
|
103
|
+
<%= link_to "show", self.controller.to_url_for(:show, data[:parent_ids].merge( id: item.id )) %>
|
104
|
+
<%= link_to "edit", self.controller.to_url_for(:edit, data[:parent_ids].merge( id: item.id )) %>
|
105
|
+
<%= link_to "delete", self.controller.to_url_for(:delete, data[:parent_ids].merge( id: item.id )), :confirm => 'Are you sure?', :method => :delete %>
|
98
106
|
</td>
|
99
107
|
</tr>
|
100
108
|
<% end %>
|
@@ -102,13 +110,13 @@
|
|
102
110
|
</table>
|
103
111
|
<div id="summary">
|
104
112
|
<div>
|
105
|
-
<%= will_paginate
|
113
|
+
<%= will_paginate data[:entries] %>
|
106
114
|
</div>
|
107
115
|
</div>
|
108
116
|
</div>
|
109
117
|
<div class="pagLegend">
|
110
|
-
<div>Всего записей: <strong><%=
|
111
|
-
<div>Страницы: <strong><%=
|
118
|
+
<div>Всего записей: <strong><%= data[:entries].total_entries %></strong></div>
|
119
|
+
<div>Страницы: <strong><%= data[:entries].current_page %></strong> из <strong><%= data[:entries].total_pages %></strong>
|
112
120
|
</div>
|
113
121
|
</div>
|
114
122
|
</div>
|
@@ -127,27 +135,27 @@
|
|
127
135
|
<%= I18n.t("common.section_titles.filters") %>
|
128
136
|
</h3>
|
129
137
|
</div>
|
130
|
-
<% if page.lists[:entries_list].filters.select{ |filter| filter.visible == :true }.length > 0 %>
|
138
|
+
<% if data[:page].lists[:entries_list].filters.select{ |filter| filter.visible == :true }.length > 0 %>
|
131
139
|
<div class="widget-sec">
|
132
|
-
<%= form_tag(self.controller.to_url_for(:index), id: "filters-form", method: :get ) do %>
|
133
|
-
<% page.lists[:entries_list].filters.select{ |f| f.visible == :true }.each do |filter| %>
|
140
|
+
<%= form_tag(self.controller.to_url_for(:index, data[:parent_ids]), id: "filters-form", method: :get ) do %>
|
141
|
+
<% data[:page].lists[:entries_list].filters.select{ |f| f.visible == :true }.each do |filter| %>
|
134
142
|
<div class="form-group">
|
135
143
|
<label for="exampleInputEmail1">
|
136
144
|
<%= filter.i18n_data_as_string(:label) || filter.name %>
|
137
145
|
</label>
|
138
|
-
<%= control_tag filter, params, filters_data[filter.name], class: "form-control" %>
|
146
|
+
<%= control_tag filter, params, data[:filters_data][filter.name], class: "form-control" %>
|
139
147
|
</div>
|
140
148
|
<% end %>
|
141
149
|
|
142
150
|
<button type="submit" class="btn gray pull-right">
|
143
151
|
<%= I18n.t("common.buttons.filter") %>
|
144
152
|
</button>
|
145
|
-
<a href="<%= self.controller.to_url_for(:index) %>">
|
153
|
+
<a href="<%= self.controller.to_url_for(:index, data[:parent_ids]) %>">
|
146
154
|
<%= I18n.t("common.buttons.filters_reset") %>
|
147
155
|
</a>
|
148
156
|
<% end %>
|
149
157
|
</div>
|
150
|
-
<% end %>
|
158
|
+
<% end if data[:page].lists[:entries_list].filters %>
|
151
159
|
</div>
|
152
160
|
</div>
|
153
161
|
|
@@ -1,8 +1,29 @@
|
|
1
1
|
<div class="col-md-12">
|
2
|
-
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new) %>"
|
3
|
-
|
2
|
+
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new, data[:parent_ids]) %>">
|
3
|
+
<%= I18n.t("common.menus.buttons_menu.new") %>
|
4
|
+
</button>
|
5
|
+
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:show, data[:parent_ids].merge(id: data[:entry])) %>">
|
6
|
+
<%= I18n.t("common.menus.buttons_menu.show") %>
|
7
|
+
</button>
|
8
|
+
|
9
|
+
<% data[:page].menus[:top_menu].items.each do |menu_item| %>
|
10
|
+
<button class="btn green" type="button" href="<%= menu_item.build_url(self.controller, params) %>">
|
11
|
+
<%= menu_item.i18n_data_as_string(:label) || I18n.t("common.menus.buttons_menu.#{menu_item.name}") %>
|
12
|
+
</button>
|
13
|
+
<% end if data[:page].menus[:top_menu] %>
|
14
|
+
|
4
15
|
</div>
|
5
16
|
|
17
|
+
<script>
|
18
|
+
$(document).ready(
|
19
|
+
function () {
|
20
|
+
$('.btn').click(function () {
|
21
|
+
window.location = $(this).attr('href')
|
22
|
+
});
|
23
|
+
}
|
24
|
+
);
|
25
|
+
</script>
|
26
|
+
|
6
27
|
<script>
|
7
28
|
$(document).ready(
|
8
29
|
function(){
|
@@ -19,18 +40,18 @@
|
|
19
40
|
<h3 class="pull-left">
|
20
41
|
<%= I18n.t("#{self.controller.to_i18n}.edit.title") %>
|
21
42
|
(
|
22
|
-
<%= link_to "show", self.controller.to_url_for(:show, id:
|
43
|
+
<%= link_to "show", self.controller.to_url_for(:show, data[:parent_ids].merge(id: data[:entry])) %>
|
23
44
|
)
|
24
45
|
</h3>
|
25
46
|
</div>
|
26
47
|
<div class="widget-sec">
|
27
|
-
<%= kirgudu_form_for(entry, page.forms[:changes], self.controller.to_url_for(:update, id:
|
28
|
-
<% page.forms[:changes].properties.each_pair do |key, property| %>
|
48
|
+
<%= kirgudu_form_for(data[:entry], data[:page].forms[:changes], self.controller.to_url_for(:update, data[:parent_ids].merge(id: data[:entry])) ) do |f| %>
|
49
|
+
<% data[:page].forms[:changes].properties.each_pair do |key, property| %>
|
29
50
|
<div class="form-group">
|
30
51
|
<label for="exampleInputEmail1">
|
31
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.#{property.name}") %>
|
52
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{property.name}") %>
|
32
53
|
</label>
|
33
|
-
<%= f.control property, controls_data[property.name], class: "form-control" %>
|
54
|
+
<%= f.control property, data[:controls_data][property.name], class: "form-control" %>
|
34
55
|
<% if property.help %>
|
35
56
|
<p class="help-block"><%= property.help %></p>
|
36
57
|
<% end %>
|
@@ -66,15 +87,15 @@
|
|
66
87
|
<%= I18n.t("common.section_titles.errors") %>
|
67
88
|
</h3>
|
68
89
|
</div>
|
69
|
-
<% if entry.errors.values.length > 0 %>
|
90
|
+
<% if data[:entry].errors.values.length > 0 %>
|
70
91
|
<div class="widget-sec">
|
71
|
-
<% entry.errors.each do |error| %>
|
92
|
+
<% data[:entry].errors.each do |error| %>
|
72
93
|
<div class="form-group">
|
73
94
|
<label for="exampleInputEmail1">
|
74
95
|
<b>
|
75
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.#{page.forms[:changes].properties[error].name}") if page.forms[:changes].properties[error] %></b>
|
96
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{data[:page].forms[:changes].properties[error].name}") if data[:page].forms[:changes].properties[error] %></b>
|
76
97
|
</label>
|
77
|
-
<% entry.errors[error].each do |error_message| %>
|
98
|
+
<% data[:entry].errors[error].each do |error_message| %>
|
78
99
|
<label for="exampleInputEmail1">
|
79
100
|
<%= error_message %>
|
80
101
|
</label>
|
@@ -90,9 +111,9 @@
|
|
90
111
|
<%= content_for :body_scripts_on_document_ready do %>
|
91
112
|
//alert('input events ready');
|
92
113
|
$.input_events = {};
|
93
|
-
<% page.forms[:changes].properties.each_pair do |key, property| %>
|
114
|
+
<% data[:page].forms[:changes].properties.each_pair do |key, property| %>
|
94
115
|
<% if property.events && property.events.length > 0 %>
|
95
|
-
$.input_events['<%= "#{entry.class.for_form_params}_#{property.name}" %>'] = <%= property.events_for_json.to_json.html_safe %>;
|
116
|
+
$.input_events['<%= "#{data[:entry].class.for_form_params}_#{property.name}" %>'] = <%= property.events_for_json.to_json.html_safe %>;
|
96
117
|
<% end %>
|
97
118
|
<% end %>
|
98
119
|
<% end %>
|
@@ -1,3 +1,24 @@
|
|
1
|
+
<div class="col-md-12">
|
2
|
+
<% data[:page].menus[:top_menu].items.each do |menu_item| %>
|
3
|
+
<button class="btn green" type="button" href="<%= menu_item.build_url(self.controller, params) %>">
|
4
|
+
<%= menu_item.i18n_data_as_string(:label) || I18n.t("common.menus.buttons_menu.#{menu_item.name}") %>
|
5
|
+
</button>
|
6
|
+
<% end if data[:page].menus[:top_menu] %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
$(document).ready(
|
11
|
+
function () {
|
12
|
+
$('.btn').click(function () {
|
13
|
+
window.location = $(this).attr('href')
|
14
|
+
});
|
15
|
+
}
|
16
|
+
);
|
17
|
+
</script>
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
1
22
|
<div class="col-md-9">
|
2
23
|
<div class="widget-body">
|
3
24
|
<div class="widget-heading green">
|
@@ -7,13 +28,13 @@
|
|
7
28
|
</h3>
|
8
29
|
</div>
|
9
30
|
<div class="widget-sec">
|
10
|
-
<%= kirgudu_form_for(entry, page.forms[:changes], self.controller.to_url_for(:create)) do |f| %>
|
11
|
-
<% page.forms[:changes].properties.each_pair do |key, property| %>
|
31
|
+
<%= kirgudu_form_for(data[:entry], data[:page].forms[:changes], self.controller.to_url_for(:create, data[:parent_ids])) do |f| %>
|
32
|
+
<% data[:page].forms[:changes].properties.each_pair do |key, property| %>
|
12
33
|
<div class="form-group">
|
13
34
|
<label for="exampleInputEmail1">
|
14
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.#{
|
35
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{key}") %>
|
15
36
|
</label>
|
16
|
-
<%= f.control property, controls_data[
|
37
|
+
<%= f.control property, data[:controls_data][key], class: "form-control" %>
|
17
38
|
<% if property.help %>
|
18
39
|
<p class="help-block"><%= property.help %></p>
|
19
40
|
<% end %>
|
@@ -39,15 +60,15 @@
|
|
39
60
|
<%= I18n.t("common.section_titles.errors") %>
|
40
61
|
</h3>
|
41
62
|
</div>
|
42
|
-
<% if entry.errors.values.length > 0 %>
|
63
|
+
<% if data[:entry].errors.values.length > 0 %>
|
43
64
|
<div class="widget-sec">
|
44
|
-
<% entry.errors.each do |error| %>
|
65
|
+
<% data[:entry].errors.each do |error| %>
|
45
66
|
<div class="form-group">
|
46
67
|
<label for="exampleInputEmail1">
|
47
68
|
<b>
|
48
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.#{page.forms[:changes].properties[error].name}") if page.forms[:changes].properties[error] %></b>
|
69
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{data[:page].forms[:changes].properties[error].name}") if data[:page].forms[:changes].properties[error] %></b>
|
49
70
|
</label>
|
50
|
-
<% entry.errors[error].each do |error_message| %>
|
71
|
+
<% data[:entry].errors[error].each do |error_message| %>
|
51
72
|
<label for="exampleInputEmail1">
|
52
73
|
<%= error_message %>
|
53
74
|
</label>
|
@@ -61,9 +82,9 @@
|
|
61
82
|
|
62
83
|
<%= content_for :body_scripts_on_document_ready do %>
|
63
84
|
$.input_events = {};
|
64
|
-
<% page.forms[:changes].properties.each_pair do |key, property| %>
|
85
|
+
<% data[:page].forms[:changes].properties.each_pair do |key, property| %>
|
65
86
|
<% if property.events && property.events.length > 0 %>
|
66
|
-
$.input_events['<%= "#{entry.class.for_form_params}_#{
|
87
|
+
$.input_events['<%= "#{data[:entry].class.for_form_params}_#{key}" %>'] = <%= property.events_for_json.to_json.html_safe %>;
|
67
88
|
<% end %>
|
68
89
|
<% end %>
|
69
90
|
<% end %>
|
@@ -1,6 +1,17 @@
|
|
1
1
|
<div class="col-md-12">
|
2
|
-
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new) %>">
|
3
|
-
|
2
|
+
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:new, data[:parent_ids]) %>">
|
3
|
+
<%= I18n.t("common.menus.buttons_menu.new") %>
|
4
|
+
</button>
|
5
|
+
<button class="btn blue" type="button" href="<%= self.controller.to_url_for(:edit, data[:parent_ids].merge(id: data[:entry].id)) %>">
|
6
|
+
<%= I18n.t("common.menus.buttons_menu.edit") %>
|
7
|
+
</button>
|
8
|
+
|
9
|
+
<% data[:page].menus[:top_menu].items.each do |menu_item| %>
|
10
|
+
<button class="btn green" type="button" href="<%= menu_item.build_url(self.controller, params) %>">
|
11
|
+
<%= menu_item.i18n_data_as_string(:label) || I18n.t("common.menus.buttons_menu.#{menu_item.name}") %>
|
12
|
+
</button>
|
13
|
+
<% end if data[:page].menus[:top_menu] %>
|
14
|
+
|
4
15
|
</div>
|
5
16
|
|
6
17
|
<script>
|
@@ -23,7 +34,7 @@
|
|
23
34
|
<h3 class="pull-left">
|
24
35
|
<%= I18n.t("#{self.controller.to_i18n}.show.title") %>
|
25
36
|
(
|
26
|
-
<%= link_to "edit", self.controller.to_url_for(:edit, id: entry) %>
|
37
|
+
<%= link_to "edit", self.controller.to_url_for(:edit, data[:parent_ids].merge(id: data[:entry].id)) %>
|
27
38
|
)
|
28
39
|
</h3>
|
29
40
|
|
@@ -33,18 +44,18 @@
|
|
33
44
|
<tbody>
|
34
45
|
|
35
46
|
|
36
|
-
<% page.entries[:show].properties.
|
47
|
+
<% data[:page].entries[:show].properties.each_pair do |key, property| %>
|
37
48
|
<tr>
|
38
49
|
<td>
|
39
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.#{property.name}") %>
|
50
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.#{property.name}") %>
|
40
51
|
</td>
|
41
52
|
<td>
|
42
53
|
<% if property.output_control == :link %>
|
43
|
-
<%= link_to_property property, entry %>
|
54
|
+
<%= link_to_property property, data[:entry] %>
|
44
55
|
<% elsif property.output_control == :image %>
|
45
|
-
<%= image_tag print_property(entry, :url) %>
|
56
|
+
<%= image_tag print_property(data[:entry], :url) %>
|
46
57
|
<% else %>
|
47
|
-
<%= print_property(entry, property.text_value_property || property.name) %>
|
58
|
+
<%= print_property(data[:entry], property.text_value_property || property.name) %>
|
48
59
|
<% end %>
|
49
60
|
|
50
61
|
</td>
|
@@ -69,62 +80,66 @@
|
|
69
80
|
<div class="widget-sec">
|
70
81
|
<table id="country-list" class="sortable-table">
|
71
82
|
<tbody>
|
83
|
+
<tr>
|
84
|
+
<td>
|
85
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.id") %>
|
86
|
+
</td>
|
87
|
+
<td>
|
88
|
+
<%= print_property(data[:entry], :id) %>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td>
|
93
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.uin") %>
|
94
|
+
</td>
|
95
|
+
<td>
|
96
|
+
<%= print_property(data[:entry], :uin) %>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<% if data[:entry].respond_to?(:creator_name) %>
|
72
100
|
<tr>
|
73
101
|
<td>
|
74
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.
|
75
|
-
</td>
|
76
|
-
<td>
|
77
|
-
<%= print_property(entry, :id) %>
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
<tr>
|
81
|
-
<td>
|
82
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.uin") %>
|
83
|
-
</td>
|
84
|
-
<td>
|
85
|
-
<%= print_property(entry, :uin) %>
|
86
|
-
</td>
|
87
|
-
</tr>
|
88
|
-
<tr>
|
89
|
-
<td>
|
90
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.created_by") %>
|
91
|
-
</td>
|
92
|
-
<td>
|
93
|
-
<%= print_property(entry, :creator_name) %>
|
94
|
-
</td>
|
95
|
-
</tr>
|
96
|
-
<tr>
|
97
|
-
<td>
|
98
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.created_at") %>
|
99
|
-
</td>
|
100
|
-
<td>
|
101
|
-
<%= print_property(entry, :created_at) %>
|
102
|
-
</td>
|
103
|
-
</tr>
|
104
|
-
<tr>
|
105
|
-
<td>
|
106
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.updated_by") %>
|
102
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.created_by") %>
|
107
103
|
</td>
|
108
104
|
<td>
|
109
|
-
<%= print_property(entry, :
|
110
|
-
</td>
|
111
|
-
</tr>
|
112
|
-
<tr>
|
113
|
-
<td>
|
114
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.updated_at") %>
|
115
|
-
</td>
|
116
|
-
<td>
|
117
|
-
<%= print_property(entry, :updated_at) %>
|
105
|
+
<%= print_property(data[:entry], :creator_name) %>
|
118
106
|
</td>
|
119
107
|
</tr>
|
108
|
+
<% end %>
|
109
|
+
<tr>
|
110
|
+
<td>
|
111
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.created_at") %>
|
112
|
+
</td>
|
113
|
+
<td>
|
114
|
+
<%= print_property(data[:entry], :created_at) %>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<% if data[:entry].respond_to?(:updater_name) %>
|
120
118
|
<tr>
|
121
119
|
<td>
|
122
|
-
<%= I18n.t("activerecord.attributes.#{entry.class.to_i18n}.
|
120
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.updated_by") %>
|
123
121
|
</td>
|
124
122
|
<td>
|
125
|
-
<%= print_property(entry, :
|
123
|
+
<%= print_property(data[:entry], :updater_name) %>
|
126
124
|
</td>
|
127
125
|
</tr>
|
126
|
+
<% end %>
|
127
|
+
<tr>
|
128
|
+
<td>
|
129
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.updated_at") %>
|
130
|
+
</td>
|
131
|
+
<td>
|
132
|
+
<%= print_property(data[:entry], :updated_at) %>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td>
|
137
|
+
<%= I18n.t("activerecord.attributes.#{data[:entry].class.to_i18n}.deletion_status_id") %>
|
138
|
+
</td>
|
139
|
+
<td>
|
140
|
+
<%= print_property(data[:entry], :deletion_status_name) %>
|
141
|
+
</td>
|
142
|
+
</tr>
|
128
143
|
|
129
144
|
|
130
145
|
</tbody>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
ru:
|
2
|
+
kirgudu_base:
|
3
|
+
authentications:
|
4
|
+
register:
|
5
|
+
errors:
|
6
|
+
user_already_exists: "Учетная запись с таким email уже существует"
|
7
|
+
cannot_create_authentication: "Ошибка создания учетной записи"
|
8
|
+
failed_to_save_user: "Ошибка создания учетной записи"
|
9
|
+
messages:
|
10
|
+
user_created: "Учатная запись создана"
|
11
|
+
login:
|
12
|
+
login_form:
|
13
|
+
username: "Email"
|
14
|
+
password: "Пароль"
|
15
|
+
remember_me: "Запомнить меня"
|
16
|
+
captcha: "Защитный код"
|
17
|
+
btn_login: "Войти"
|
18
|
+
errors:
|
19
|
+
generic_user_password: "Имя пользователя или пароль неопознаны системой"
|
20
|
+
password: "Введите пароль для вашей учетной записи"
|
21
|
+
user_name: "Введите адрес электронной почты в формате somebody@example.com"
|
22
|
+
captcha_error: "Введен не верный защитный код"
|
23
|
+
restore_password:
|
24
|
+
restore_password_form:
|
25
|
+
email: "Email"
|
26
|
+
captcha: "Защитный код"
|
27
|
+
btn_send: "Отправить код восстановления"
|
28
|
+
restore_code_form:
|
29
|
+
id: "ID"
|
30
|
+
code: "Код восстановления"
|
31
|
+
btn_process: "Восстановить"
|
32
|
+
email:
|
33
|
+
subject: "Kirgudu.NET: Восстановление пароля учетной записи"
|
34
|
+
errors:
|
35
|
+
user_name_necessary: "Необходимо ввести email учетной записи Kirgudu.NET"
|
36
|
+
user_not_found: "Учетная запись с таким адресом email не найдена"
|
37
|
+
email_cannot_be_empty: "Email не может быть пустым"
|
38
|
+
email_wrong_format: "Не верный формат адреса Email. Введите email в формате: test@example.com"
|
39
|
+
captcha_error: "Введен не верный защитный код"
|
40
|
+
mail_delivery_error: "В процессе отпавки письма в кодом восстановления произошла ошибка."
|
41
|
+
cant_create_restore_code: "В процессе отпавки письма в кодом восстановления произошла ошибка."
|
42
|
+
restore_password_code:
|
43
|
+
email:
|
44
|
+
subject: "Kirgudu.NET: Пароль Вашей учетной записи восстановлен"
|
45
|
+
errors:
|
46
|
+
failed_to_save_password: "Произошла непредвиденная ошибка. Не удалось создать новый пароль."
|
47
|
+
failed_to_send_password: "Произошла непредвиденная ошибка. Не удалось отправить пароль на электронную почту."
|
48
|
+
wrong_code: "Введен не верный код восстановления пароля"
|
49
|
+
used_code: "Данный код восстановления пароля уже был использован. Запросите новый код восстановления."
|
50
|
+
restore_password_success:
|
51
|
+
email:
|
52
|
+
subject: "Kirgudu.NET: Пароль Вашей учетной записи восстановлен"
|
53
|
+
confirm_email:
|
54
|
+
confirm_email_form:
|
55
|
+
email: "Email"
|
56
|
+
code: "Код"
|
57
|
+
email:
|
58
|
+
subject: " Kirgudu.NET: Подтвердите адрес email для Вашей учетной записи"
|
59
|
+
messages:
|
60
|
+
|
61
|
+
errors:
|
62
|
+
confirm_phone:
|
63
|
+
confirm_phone_form:
|
64
|
+
phone: "Номер телефона"
|
65
|
+
code: "Код"
|
66
|
+
email:
|
67
|
+
subject: "Kirgudu.NET: Подтвердите номер Вашего телефона для учетной записи"
|
68
|
+
messages:
|
69
|
+
|
70
|
+
errors:
|
71
|
+
|
72
|
+
register:
|
73
|
+
register_form:
|
74
|
+
email: "Email"
|
75
|
+
password: "Пароль"
|
76
|
+
password_confirmation: "Подтверждение пароля"
|
77
|
+
last_name: "Фамилия"
|
78
|
+
first_name: "Имя"
|
79
|
+
captcha: "Защитный код"
|
80
|
+
btn_create: "Создать"
|
81
|
+
errors:
|
82
|
+
password: "Пароль не может быт пустым. Минимальная длина пароля 8 символов. Пароль зависит от регистра"
|
83
|
+
password_confirmation: "Пароли не совпадают"
|
84
|
+
email: "введите адрес электронной почты в формате somebody@example.com"
|
85
|
+
captcha_error: "Введен не верный защитный код"
|
86
|
+
placeholder:
|
87
|
+
select_gender: "Выбрать пол..."
|
88
|
+
select_secret_question: "Выберите секретный вопрос..."
|
89
|
+
select_country: "Выберите страну..."
|
90
|
+
select_state: "Выберите область..."
|
91
|
+
select_region: "Выберите район..."
|
92
|
+
select_city: "Выберите город..."
|