typus 3.1.0.rc14 → 3.1.0.rc15
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/README.md +10 -14
- data/Rakefile +7 -5
- data/app/assets/javascripts/typus.js +1 -0
- data/app/assets/javascripts/typus/jquery.application.js +0 -2
- data/app/assets/stylesheets/typus.css +13 -1
- data/app/assets/stylesheets/typus/account.css +53 -0
- data/app/assets/stylesheets/typus/actions.css +11 -0
- data/app/assets/stylesheets/typus/content.css +92 -0
- data/app/assets/stylesheets/typus/defaults.css +31 -0
- data/app/assets/stylesheets/typus/errors.css +33 -0
- data/app/assets/stylesheets/typus/footer.css +8 -0
- data/app/assets/stylesheets/typus/forms.css +52 -0
- data/app/assets/stylesheets/typus/hacks.css +20 -0
- data/app/assets/stylesheets/typus/header.css +55 -0
- data/app/assets/stylesheets/typus/layout.css +4 -0
- data/app/assets/stylesheets/typus/pagination.css +34 -8
- data/app/assets/stylesheets/typus/sidebar.css +23 -0
- data/app/assets/stylesheets/typus/tables.css +47 -0
- data/app/helpers/admin/base_helper.rb +1 -1
- data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +1 -0
- data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -0
- data/app/helpers/admin/resources/display_helper.rb +1 -1
- data/app/helpers/admin/resources/form_helper.rb +1 -0
- data/app/helpers/admin/resources_helper.rb +3 -5
- data/app/views/admin/account/forgot_password.html.erb +7 -1
- data/app/views/admin/base/user_guide.html.erb +61 -57
- data/app/views/admin/dashboard/show.html.erb +6 -16
- data/app/views/admin/dashboard/widgets/_applications.html.erb +31 -0
- data/app/views/admin/dashboard/widgets/_models.html.erb +23 -0
- data/app/views/admin/dashboard/widgets/_models_extended.html.erb +25 -0
- data/app/views/admin/dashboard/widgets/_resources.html.erb +23 -0
- data/app/views/admin/resources/_actions.html.erb +23 -0
- data/app/views/admin/resources/edit.html.erb +26 -20
- data/app/views/admin/resources/edit/_actions.html.erb +7 -0
- data/app/views/admin/resources/edit/_rencently_edited.html.erb +8 -0
- data/app/views/admin/resources/index.html.erb +42 -32
- data/app/views/admin/resources/new.html.erb +16 -8
- data/app/views/admin/resources/show.html.erb +22 -14
- data/app/views/admin/session/new.html.erb +9 -1
- data/app/views/admin/templates/_belongs_to.html.erb +1 -1
- data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
- data/app/views/admin/templates/_boolean.html.erb +1 -1
- data/app/views/admin/templates/_date.html.erb +1 -1
- data/app/views/admin/templates/_datetime.html.erb +1 -1
- data/app/views/admin/templates/_dragonfly.html.erb +1 -1
- data/app/views/admin/templates/_paperclip.html.erb +1 -1
- data/app/views/admin/templates/_password.html.erb +1 -1
- data/app/views/admin/templates/_selector.html.erb +1 -1
- data/app/views/admin/templates/_string.html.erb +1 -1
- data/app/views/admin/templates/_string_with_preview.html.erb +1 -1
- data/app/views/admin/templates/_text.html.erb +1 -1
- data/app/views/admin/templates/_text_with_ckeditor.html.erb +16 -2
- data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +16 -2
- data/app/views/admin/templates/_time.html.erb +1 -1
- data/app/views/admin/templates/_tree.html.erb +1 -1
- data/app/views/helpers/admin/resources/_sidebar.html.erb +36 -12
- data/app/views/helpers/admin/resources/_table.html.erb +5 -3
- data/app/views/layouts/admin/base.html.erb +16 -29
- data/app/views/layouts/admin/headless.html.erb +1 -1
- data/app/views/layouts/admin/session.html.erb +6 -0
- data/lib/support/fake_user.rb +2 -8
- data/lib/typus.rb +6 -2
- data/lib/typus/authentication/devise.rb +19 -0
- data/lib/typus/controller/headless.rb +1 -1
- data/lib/typus/orm/active_record/admin_user_v1.rb +15 -1
- data/lib/typus/orm/active_record/admin_user_v2.rb +16 -2
- data/lib/typus/orm/active_record/user/class_methods.rb +2 -3
- data/lib/typus/orm/active_record/user/instance_methods.rb +5 -2
- data/lib/typus/orm/active_record/user/instance_methods_more.rb +19 -0
- data/lib/typus/version.rb +1 -1
- data/vendor/assets/adapt/css/1200.css +357 -0
- data/vendor/assets/adapt/css/1200.min.css +1 -0
- data/vendor/assets/adapt/css/1560.css +357 -0
- data/vendor/assets/adapt/css/1560.min.css +1 -0
- data/vendor/assets/adapt/css/720.css +357 -0
- data/vendor/assets/adapt/css/720.min.css +1 -0
- data/vendor/assets/adapt/css/960.css +357 -0
- data/vendor/assets/adapt/css/960.min.css +1 -0
- data/vendor/assets/adapt/css/fluid.css +345 -0
- data/vendor/assets/adapt/css/fluid.min.css +1 -0
- data/vendor/assets/adapt/css/master.css +120 -0
- data/vendor/assets/adapt/css/mobile.css +20 -0
- data/vendor/assets/adapt/css/mobile.min.css +1 -0
- data/vendor/assets/adapt/css/reset.css +202 -0
- data/vendor/assets/adapt/css/text.css +81 -0
- data/vendor/assets/adapt/images/h1.png +0 -0
- data/vendor/assets/adapt/js/adapt.js +135 -0
- data/vendor/assets/adapt/js/adapt.min.js +1 -0
- data/vendor/assets/formalize/.gitignore +1 -0
- data/vendor/assets/formalize/css/_formalize.sass +332 -0
- data/vendor/assets/formalize/css/demo.css +47 -0
- data/vendor/assets/formalize/css/formalize.css +395 -0
- data/vendor/assets/formalize/css/reset.css +202 -0
- data/vendor/assets/formalize/css/text.css +81 -0
- data/vendor/assets/formalize/images/button.png +0 -0
- data/vendor/assets/formalize/images/select_arrow.gif +0 -0
- data/vendor/assets/formalize/js/dojo.formalize.js +166 -0
- data/vendor/assets/formalize/js/dojo.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/extjs.formalize.js +163 -0
- data/vendor/assets/formalize/js/extjs.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/jquery.formalize.js +150 -0
- data/vendor/assets/formalize/js/jquery.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/mootools.formalize.js +155 -0
- data/vendor/assets/formalize/js/mootools.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/prototype.formalize.js +163 -0
- data/vendor/assets/formalize/js/prototype.formalize.min.js +1 -0
- data/vendor/assets/formalize/js/yui.formalize.js +152 -0
- data/vendor/assets/formalize/js/yui.formalize.min.js +1 -0
- metadata +79 -47
- data/app/assets/stylesheets/typus/screen.css +0 -340
- data/app/helpers/admin/dashboard_helper.rb +0 -8
- data/app/views/admin/dashboard/_applications.html.erb +0 -21
- data/config/locales/typus.ca.models.yml +0 -17
- data/config/locales/typus.ca.yml +0 -80
- data/config/locales/typus.de.models.yml +0 -17
- data/config/locales/typus.de.yml +0 -79
- data/config/locales/typus.el.models.yml +0 -17
- data/config/locales/typus.el.yml +0 -81
- data/config/locales/typus.es.models.yml +0 -18
- data/config/locales/typus.es.yml +0 -81
- data/config/locales/typus.fr.models.yml +0 -18
- data/config/locales/typus.fr.yml +0 -85
- data/config/locales/typus.hu.models.yml +0 -17
- data/config/locales/typus.hu.yml +0 -79
- data/config/locales/typus.it.models.yml +0 -18
- data/config/locales/typus.it.yml +0 -88
- data/config/locales/typus.locale.models.yml.template +0 -17
- data/config/locales/typus.locale.yml.template +0 -80
- data/config/locales/typus.pt-BR.models.yml +0 -17
- data/config/locales/typus.pt-BR.yml +0 -79
- data/config/locales/typus.pt-PT.models.yml +0 -17
- data/config/locales/typus.pt-PT.yml +0 -83
- data/config/locales/typus.ru.models.yml +0 -17
- data/config/locales/typus.ru.yml +0 -79
- data/config/locales/typus.zh-CN.models.yml +0 -17
- data/config/locales/typus.zh-CN.yml +0 -78
@@ -1,340 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2010, Francesc Esplugas Marti
|
3
|
-
Code licensed under the MIT License
|
4
|
-
Updated: 20100618
|
5
|
-
|
6
|
-
Global Styles – (body, paragraphs, lists, etc)
|
7
|
-
Header
|
8
|
-
Page Structure
|
9
|
-
Headings
|
10
|
-
Text Styles
|
11
|
-
Navigation
|
12
|
-
Forms
|
13
|
-
Comments
|
14
|
-
Extras
|
15
|
-
|
16
|
-
*/
|
17
|
-
|
18
|
-
/* @group Defaults */
|
19
|
-
|
20
|
-
html, body {}
|
21
|
-
|
22
|
-
body {
|
23
|
-
font-family: "Lucida Grande", Sans-serif;
|
24
|
-
font-size: 75%;
|
25
|
-
height: 100%;
|
26
|
-
}
|
27
|
-
|
28
|
-
label { display: block; font-weight: bold; margin: 0 0 5px 0; }
|
29
|
-
strong { font-weight: bold; }
|
30
|
-
em { font-style: italic; }
|
31
|
-
|
32
|
-
dl { margin: 14px 0 20px 0; }
|
33
|
-
dt { font-weight: bold; }
|
34
|
-
dd { font-size: 18px; margin: 0.25em 0 1em 0; }
|
35
|
-
dd p { color: #000; }
|
36
|
-
|
37
|
-
p { color: #777; line-height: 1.25em; margin: 1em 0; }
|
38
|
-
|
39
|
-
h1 { font-size: 2em; font-weight: normal; }
|
40
|
-
h2 { font-weight: bold; }
|
41
|
-
h3 { font-size: 1.25em; font-weight: bold; margin: 1em 0; }
|
42
|
-
|
43
|
-
li { color: #777; }
|
44
|
-
|
45
|
-
/* @end */
|
46
|
-
|
47
|
-
/* @group Links */
|
48
|
-
|
49
|
-
a,
|
50
|
-
a:visited,
|
51
|
-
a:link { color: #000; font-weight: normal; }
|
52
|
-
a:hover { color: #333; text-decoration: underline!important; }
|
53
|
-
|
54
|
-
/* @end */
|
55
|
-
|
56
|
-
/* @group Header */
|
57
|
-
|
58
|
-
#header_wrapper { background: #4A525A; }
|
59
|
-
|
60
|
-
#header_wrapper #header { color: #FFF; padding: 1.25em 2em 0.25em 2em; }
|
61
|
-
#header_wrapper #header h1 a { color: #FFF; text-decoration: none; }
|
62
|
-
#header_wrapper #header h1 a:hover { text-decoration: underline; }
|
63
|
-
|
64
|
-
#header_wrapper #links { color: #FFF; padding: 1.25em 2em; }
|
65
|
-
#header_wrapper #links ul li { display: inline; padding-left: 0.5em; color: #FFF; }
|
66
|
-
#header_wrapper #links a { color: #FFF; }
|
67
|
-
|
68
|
-
#header_wrapper #links .left { float: left; }
|
69
|
-
#header_wrapper #links .left ul { display: block; }
|
70
|
-
#header_wrapper #links .left ul li { display: inline; padding: 0 0.5em 0 0; }
|
71
|
-
#header_wrapper #links .left ul li a {
|
72
|
-
-moz-border-radius: 5px;
|
73
|
-
-webkit-border-radius: 5px;
|
74
|
-
background: #242527;
|
75
|
-
padding: 3px 5px;
|
76
|
-
text-decoration: none;
|
77
|
-
}
|
78
|
-
|
79
|
-
#header_wrapper #links .left ul li a.active,
|
80
|
-
#header_wrapper #links .left ul li a:hover { background: #FFF; color: #000; }
|
81
|
-
|
82
|
-
#header_wrapper #links .right { float: right; }
|
83
|
-
|
84
|
-
/* @end */
|
85
|
-
|
86
|
-
/* @group Wrapper */
|
87
|
-
|
88
|
-
#wrapper { min-height: 100%; position: relative; }
|
89
|
-
|
90
|
-
/* @end */
|
91
|
-
|
92
|
-
/* @group Content Wrapper */
|
93
|
-
|
94
|
-
#content_wrapper { margin: 0em 0 2em 0; padding: 2em; }
|
95
|
-
|
96
|
-
/* @end */
|
97
|
-
|
98
|
-
/* @group Content */
|
99
|
-
|
100
|
-
#content { margin: 0 0 0 20em; }
|
101
|
-
#content.headless { margin: 1em; }
|
102
|
-
|
103
|
-
#content h2 { font-size: 1.5em; margin: 0.5em 0; }
|
104
|
-
#content h2 small { font-size: 0.75em; }
|
105
|
-
#content h2 small a { color: #666; }
|
106
|
-
|
107
|
-
#content ol { margin: 1em 2em; }
|
108
|
-
#content ul { margin: 0 1.5em; }
|
109
|
-
#content li { list-style: square; line-height: 20px; }
|
110
|
-
|
111
|
-
#content pre {
|
112
|
-
background: #000;
|
113
|
-
color: #FFF;
|
114
|
-
font-size: 1.5em;
|
115
|
-
margin: 1em 0;
|
116
|
-
overflow: auto;
|
117
|
-
padding: 1em;
|
118
|
-
}
|
119
|
-
|
120
|
-
#content blockquote {
|
121
|
-
-moz-border-radius: 3px;
|
122
|
-
-webkit-border-radius: 3px;
|
123
|
-
font-size: 1.25em;
|
124
|
-
font-family: georgia;
|
125
|
-
line-height: 1.5em;
|
126
|
-
margin: 1em 0;
|
127
|
-
padding: 0 1em;
|
128
|
-
border: 1px solid #AAA;
|
129
|
-
}
|
130
|
-
|
131
|
-
/* @end */
|
132
|
-
|
133
|
-
/* @group Sidebar */
|
134
|
-
|
135
|
-
#sidebar { float: left; margin: -1em 2em 0 0; width: 18em; }
|
136
|
-
|
137
|
-
#sidebar h2 { font-size: 1.5em; margin: 1.1em 0 0 0; }
|
138
|
-
|
139
|
-
#sidebar h3 {
|
140
|
-
-moz-border-radius: 0.5em;
|
141
|
-
-webkit-border-radius: 0.5em;
|
142
|
-
background: #242527;
|
143
|
-
color: #FFF;
|
144
|
-
padding: 0.5em;
|
145
|
-
}
|
146
|
-
|
147
|
-
#sidebar h3 a { color: #FFF; }
|
148
|
-
#sidebar ul { font-weight: bold; }
|
149
|
-
#sidebar ul li { padding: 0.25em 1em; }
|
150
|
-
|
151
|
-
#sidebar a { text-decoration: none; }
|
152
|
-
#sidebar li a:hover { text-decoration: underline; }
|
153
|
-
|
154
|
-
/* @end */
|
155
|
-
|
156
|
-
/* @group Footer */
|
157
|
-
|
158
|
-
#footer_wrapper { display: none; }
|
159
|
-
|
160
|
-
/* @end */
|
161
|
-
|
162
|
-
/* @group Fieldsets */
|
163
|
-
|
164
|
-
fieldset { margin: 0; padding: 0; }
|
165
|
-
fieldset ol { margin: 0!important; }
|
166
|
-
fieldset ol li { list-style: none!important; margin: 1em 0!important; }
|
167
|
-
fieldset small { font-size: 0.9em; font-weight: normal; margin: 0 0 0 0.25em; }
|
168
|
-
fieldset small a { text-decoration: none; }
|
169
|
-
|
170
|
-
fieldset.inputs { }
|
171
|
-
|
172
|
-
fieldset.inputs input[type='text'],
|
173
|
-
fieldset.inputs input[type='password'] {
|
174
|
-
border: 1px solid #999;
|
175
|
-
font-size: 20px;
|
176
|
-
padding: 5px;
|
177
|
-
width: 685px;
|
178
|
-
}
|
179
|
-
|
180
|
-
fieldset.inputs input[type='text']:focus,
|
181
|
-
fieldset.inputs input[type='password']:focus {
|
182
|
-
/* background: #FFFCE1; */
|
183
|
-
}
|
184
|
-
|
185
|
-
fieldset.inputs textarea { font-size: 1.2em; padding: 3px; width: 691px; }
|
186
|
-
|
187
|
-
fieldset.inputs select { border: 1px solid #999; font-size: 1.20em; }
|
188
|
-
|
189
|
-
fieldset.inputs textarea:focus { background: #FFFCE1; }
|
190
|
-
fieldset.inputs label.inline_label { display: inline; }
|
191
|
-
|
192
|
-
fieldset.buttons { }
|
193
|
-
|
194
|
-
fieldset.buttons ol li {
|
195
|
-
display: inline;
|
196
|
-
}
|
197
|
-
|
198
|
-
/* @end */
|
199
|
-
|
200
|
-
/* @group Content Tables */
|
201
|
-
|
202
|
-
#content table { margin-bottom: 2em!important; width: 100%; text-align: left; }
|
203
|
-
#content table a { text-decoration: none; }
|
204
|
-
#content table th { background: #242527; color: #FFF; padding: 6px; }
|
205
|
-
#content table th a { color: #FFF!important; text-decoration: none; }
|
206
|
-
#content table th a:hover { text-decoration: underline; }
|
207
|
-
#content table td.right { text-align: right; }
|
208
|
-
#content table tr.even { background: #FFF!important; }
|
209
|
-
#content table tr.even:hover,
|
210
|
-
#content table tr.odd:hover { background: #E4E4E4!important; }
|
211
|
-
#content table tr.odd { background: #F3F3F3; }
|
212
|
-
#content table td { border: none; padding: 5px; vertical-align: top; }
|
213
|
-
|
214
|
-
/* @end */
|
215
|
-
|
216
|
-
/* @group Login Page Dialog */
|
217
|
-
|
218
|
-
#account { background: #F3F3F3; }
|
219
|
-
|
220
|
-
#account #wrapper { margin: 10em auto; width: 40em; }
|
221
|
-
|
222
|
-
#account #box {
|
223
|
-
-moz-border-radius: 3px;
|
224
|
-
-webkit-border-radius: 3px;
|
225
|
-
background: #FFF;
|
226
|
-
border: 0.1em solid #D3D3D3;
|
227
|
-
padding: 1em 2em;
|
228
|
-
margin: 0 0 1em 0;
|
229
|
-
}
|
230
|
-
|
231
|
-
#account #box h1 { margin: 0.5em 0; }
|
232
|
-
#account #box ul { margin: 1.5em 0 0.5em 0; }
|
233
|
-
#account #box li { margin: 1em 0; }
|
234
|
-
|
235
|
-
#account #box input.text { font-size: 2em; padding: 0.25em; width: 17.25em; }
|
236
|
-
#account #box input.button { margin: 0.5em 1em 0 0; }
|
237
|
-
|
238
|
-
#account #footer { font-size: 0.9em; line-height: 1.8em; text-align: center; }
|
239
|
-
#account #footer a { font-weight: bold; }
|
240
|
-
|
241
|
-
/* @end */
|
242
|
-
|
243
|
-
/* @group Rails errors and flashes */
|
244
|
-
|
245
|
-
#errorExplanation,
|
246
|
-
.alert,
|
247
|
-
.notice {
|
248
|
-
padding: 0.8em;
|
249
|
-
margin: 1em 0;
|
250
|
-
border: 1px solid #ddd;
|
251
|
-
-moz-border-radius: 8px;
|
252
|
-
-webkit-border-radius: 8px;
|
253
|
-
line-height: 1.5em;
|
254
|
-
}
|
255
|
-
|
256
|
-
#errorExplanation p,
|
257
|
-
#errorExplanation li,
|
258
|
-
#errorExplanation h3 {
|
259
|
-
color: #D12F19;
|
260
|
-
}
|
261
|
-
|
262
|
-
#errorExplanation h3 { margin: 5px 0 0 0; }
|
263
|
-
|
264
|
-
#errorExplanation ul { margin: 10px 0 0 20px!important; }
|
265
|
-
|
266
|
-
#errorExplanation,
|
267
|
-
.alert { background: #FBE3E4; border-color: #FBC2C4; color: #D12F19; }
|
268
|
-
.alert a { color: #D12F19; text-decoration: underline; }
|
269
|
-
|
270
|
-
.notice { background: #FFF6BF; border-color: #FFD324; color: #817134; }
|
271
|
-
.notice a { color: #817134; text-decoration: underline; }
|
272
|
-
|
273
|
-
.fieldWithErrors label { color: #CD0A0A;}
|
274
|
-
.fieldWithErrors input { background: #FEF8F6; }
|
275
|
-
|
276
|
-
#errorExplanation ul { margin: 1em 1.5em; }
|
277
|
-
#errorExplanation ul li { list-style: square!important; margin: 0!important; }
|
278
|
-
|
279
|
-
/* @end */
|
280
|
-
|
281
|
-
/* Boxes */
|
282
|
-
|
283
|
-
.box {
|
284
|
-
-moz-border-radius: 3px;
|
285
|
-
-webkit-border-radius: 3px;
|
286
|
-
background: #FFF;
|
287
|
-
border: 1px solid #AAA;
|
288
|
-
margin: 1em 0;
|
289
|
-
padding: 0.5em 1em ;
|
290
|
-
}
|
291
|
-
|
292
|
-
.box h3 { margin: 0.5em 0!important; }
|
293
|
-
|
294
|
-
/* @group Hacks */
|
295
|
-
|
296
|
-
.clear { clear: both; }
|
297
|
-
.box_relationships { margin-top: 2.5em; }
|
298
|
-
|
299
|
-
/* @end */
|
300
|
-
|
301
|
-
/* @group Filters */
|
302
|
-
|
303
|
-
#content .filters {
|
304
|
-
border-top: 1px solid #D3D3D3;
|
305
|
-
border-bottom: 1px solid #D3D3D3;
|
306
|
-
height: 2em;
|
307
|
-
margin: 0 0 1em 0;
|
308
|
-
padding: 1em 0;
|
309
|
-
}
|
310
|
-
|
311
|
-
#content .filters ul { margin: 0; }
|
312
|
-
#content .filters ul li { float: left; list-style: none; margin: 0 1em 0 0; }
|
313
|
-
|
314
|
-
/* @end */
|
315
|
-
|
316
|
-
/* @group Search */
|
317
|
-
|
318
|
-
#search { float: right; }
|
319
|
-
#search input { font-size: 1em; padding: 3px; }
|
320
|
-
|
321
|
-
/* @end */
|
322
|
-
|
323
|
-
/* @group Misc */
|
324
|
-
|
325
|
-
ul.predefined_filters {
|
326
|
-
margin: 1em 0 0.5em 0!important;
|
327
|
-
}
|
328
|
-
|
329
|
-
ul.predefined_filters li {
|
330
|
-
display: inline;
|
331
|
-
margin: 0 0.5em 0 0;
|
332
|
-
}
|
333
|
-
|
334
|
-
.actions {
|
335
|
-
font-size: 0.9em;
|
336
|
-
margin: 0.5em 0;
|
337
|
-
height: 1em;
|
338
|
-
}
|
339
|
-
|
340
|
-
/* @end */
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<% admin_user.applications.each do |app| %>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
|
5
|
-
<thead>
|
6
|
-
<tr>
|
7
|
-
<th><%= Typus::I18n.t(app) %></th>
|
8
|
-
</tr>
|
9
|
-
</thead>
|
10
|
-
|
11
|
-
<% admin_user.application(app).map { |i| i.constantize }.each do |klass| %>
|
12
|
-
<tr class="<%= cycle("even", "odd") %>">
|
13
|
-
<td>
|
14
|
-
<%= link_to klass.model_name.human.pluralize, :controller => "/admin/#{klass.to_resource}" %>
|
15
|
-
</td>
|
16
|
-
</tr>
|
17
|
-
<% end %>
|
18
|
-
|
19
|
-
</table>
|
20
|
-
|
21
|
-
<% end %>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# Catalan (ca) translations for Typus by:
|
2
|
-
# - Lleïr Borràs <http://github.com/lleirborras>
|
3
|
-
|
4
|
-
ca:
|
5
|
-
activerecord:
|
6
|
-
models:
|
7
|
-
admin_user: Usuari
|
8
|
-
attributes:
|
9
|
-
admin_user:
|
10
|
-
email: Correu electrònic
|
11
|
-
first_name: Nom
|
12
|
-
last_name: Cognoms
|
13
|
-
password: Contrasenya
|
14
|
-
password_confirmation: Confirmar contrasenya
|
15
|
-
status: Estat
|
16
|
-
role: Rol
|
17
|
-
locale: Idioma
|
data/config/locales/typus.ca.yml
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
# Catalan (ca) translations for Typus by:
|
2
|
-
# - Lleïr Borràs <http://github.com/lleirborras>
|
3
|
-
|
4
|
-
ca:
|
5
|
-
|
6
|
-
"Actions": "Accions"
|
7
|
-
"Active": "Actiu"
|
8
|
-
"Add": "Afegir"
|
9
|
-
"Add New": "Afegir nou"
|
10
|
-
"All": "Tots"
|
11
|
-
"Are you sure?": "Estàs segur?"
|
12
|
-
"Are you sure you want to sign out and end your session?": "Estàs segur que vols sortir i tancar la sessió?"
|
13
|
-
|
14
|
-
"Change %{attribute}?": "Canviar %{attribute}?"
|
15
|
-
"Create %{resource}": "Crear %{resource}"
|
16
|
-
|
17
|
-
"Dashboard": "Panell de control"
|
18
|
-
"Down": "Baixar"
|
19
|
-
|
20
|
-
"Edit": "Editar"
|
21
|
-
"Edit %{resource}": "Edit %{resource}"
|
22
|
-
"Enter your email below to create the first user": "Introdueix el teu email per crear el primer usuari."
|
23
|
-
|
24
|
-
"False": "Fals"
|
25
|
-
"Filter": "Filtrar"
|
26
|
-
|
27
|
-
"I remember my password": "Recordo la meva contrasenya"
|
28
|
-
"If you didn't request a password update, you can ignore this message": "Si no has demanat una actualització de la teva contrasenya, pots ignorar aquest missatge."
|
29
|
-
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si has realitzat algun canvi en els camps sense premer el botó Guardar/Actualitzar, els teus canvis es perdran."
|
30
|
-
"Inactive": "Inactiu"
|
31
|
-
|
32
|
-
"Last few days": "Últims dies"
|
33
|
-
"Last 30 days": "Últims 30 dies"
|
34
|
-
"Last 7 days": "Últims 7 dies"
|
35
|
-
"Logged as": "Identificat com"
|
36
|
-
"Login": "Login"
|
37
|
-
|
38
|
-
"New": "Nou"
|
39
|
-
"New %{resource}": "Nou %{resource}"
|
40
|
-
"Next": "Següent"
|
41
|
-
"No %{resources} found": "No s'han trobat %{resources}."
|
42
|
-
|
43
|
-
"Password recovery link sent to your email": "L'enllaç de recuperació de contrasenya enviat al teu correu electrònic."
|
44
|
-
"Previous": "Anterior"
|
45
|
-
|
46
|
-
"Record moved %{to}": "Registre desplaçat %{to}."
|
47
|
-
"Recover password": "Recuperar contrasenya"
|
48
|
-
"Remove": "Eliminar"
|
49
|
-
"Remove %{resource}?": "Esborrar %{resource}?"
|
50
|
-
"Reset password": "Canviar contrasenya"
|
51
|
-
"Resources": "Recursos"
|
52
|
-
|
53
|
-
"Save %{resource}": "Guardar %{resource}"
|
54
|
-
"Search": "Cercar"
|
55
|
-
"Show": "Mostrar"
|
56
|
-
"Show all dates":
|
57
|
-
"Show by %{attribute}":
|
58
|
-
"Show %{resource}": "Mostrar %{resource}"
|
59
|
-
"Sign in": "Entrar"
|
60
|
-
"Sign out": "Sortir"
|
61
|
-
"Sign up": "Crear compte"
|
62
|
-
"System Users Administration": "Administrar usuaris del sistema"
|
63
|
-
|
64
|
-
"Today": "Avui"
|
65
|
-
"True": "Cert"
|
66
|
-
|
67
|
-
"Unrelate": "Deslligar"
|
68
|
-
"Up": "Pujar"
|
69
|
-
|
70
|
-
"You can update your password at": "Pots actualitzar la teva contrasenya a"
|
71
|
-
"You can't change your role": "No pots canviar-te tu mateix el rol."
|
72
|
-
"You can't toggle your status": "No pots canviar-te l'estat."
|
73
|
-
|
74
|
-
"View all %{attribute}":
|
75
|
-
"View site": "Veure la web"
|
76
|
-
|
77
|
-
"%{errors} prohibited this page from being saved:":
|
78
|
-
"%{model} successfully created": "%{model} satisfactòriament creat."
|
79
|
-
"%{model} successfully removed": "%{model} satisfactòriament eliminat."
|
80
|
-
"%{model} successfully updated": "%{model} satisfactòriament actualitzat."
|