Project

General

Profile

« Previous | Next » 

Revision d0ff9068

Added by Marc Dequènes almost 13 years ago

  • ID d0ff90685657026f9316e7455a54dc35690a97eb

[evol] created a simple logon system, protected admin pages, and added a logon indicator/link (no user management yet, only a deadend entry in the menu if admin)

View differences:

app/controllers/admin.rb
1 1
module Admin
2 2
  class AdminController < ApplicationController
3
    before_filter :login_required
3 4
  end
4 5
end
app/controllers/application.rb
18 18
  # Uncomment the :secret if you're not using the cookie session store
19 19
  protect_from_forgery # :secret => '86f01f14fc184c81bf152965a2bccb88'
20 20

  
21
  filter_parameter_logging :password
22

  
21 23
  init_gettext MyCyma::Info::app_name
22 24

  
23 25
  def initialize
......
30 32
    render :template => "common/404", :layout => ! request.xhr?, :status => :not_found
31 33
    return false
32 34
  end
35

  
36
  def login_required
37
    if session[:user_id]
38
      return true
39
    end
40
    flash[:warning] = _('Please login to continue')
41
    session[:return_to] = request.request_uri
42
    redirect_to :controller => "/logon", :action => "login"
43
    return false
44
  end
45

  
46
  def current_user
47
    @current_user ||= ((session[:user_id] && User.find_by_id(session[:user_id])) || nil)
48
  end
49

  
50
  def redirect_to_stored
51
    if return_to = session[:return_to]
52
      session[:return_to] = nil
53
      redirect_to(return_to)
54
    else
55
      redirect_to :controller => 'welcome', :action => 'index'
56
    end
57
  end
33 58
end
app/views/layouts/application.rhtml
17 17
		<div id="header">
18 18
			<h1><%= link_to_unless_current "~°~ #{site_name} ~°~", root_path %></h1>
19 19
			<ul class="nav" id="menu">
20
<%
21
  current_user ||= ((session[:user_id] && User.find_by_id(session[:user_id])) || nil)
22
  if current_user
23
%>
20 24
				<li><strong><%= _("Setup the Cyma") %></strong>
21 25
					<ul>
22 26
						<li><%= link_to _("Manage Artworks"), admin_artworks_url %></li>
......
26 30
						<li><%= link_to _("Manage Artwork Sets & Groups"), admin_artwork_sets_url %></li>
27 31
						<li><%= link_to _("Manage Artwork Sizes"), admin_artwork_sizes_url %></li>
28 32
						<li><%= link_to _("Manage Techniques"), admin_techniques_url %></li>
33
<% if current_user.admin %>
34
						<li>-------</li>
35
						<li><%= link_to _("Manage Users"), admin_users_url %></li>
36
<% end %>
29 37
					</ul>
30 38
				</li>
39
<% end %>
31 40
				<li><strong><%= _("About") %></strong>
32 41
					<ul>
33 42
						<li><%= link_to _("Project page"), MyCyma::Info::url, :popup => true %></li>
......
35 44
					</ul>
36 45
				</li>
37 46
			</ul>
38
			<!-- <div id="user_info" style="float: right;text-align: center;"><%= session[:login] ? "Loggued in as '#{session[:login]}'<br/>(#{link_to "logout", { :controller => 'logon', :action => 'logout'}})" : "Not loggued in" %></div> -->
47
			<div id="user_info" style="float: right;text-align: center;"><%= current_user ?
48
                          sprintf(_("Loggued in as '%s'"), current_user.login) + "<br/>(#{link_to _("logout"), { :controller => '/logon', :action => 'logout'}})" :
49
                           _("Not loggued in") + "<br/>(#{link_to _("login"), { :controller => '/logon', :action => 'login'}})"
50
                           %></div>
39 51
		</div>
40 52
		<div style="clear: both;"></div>
41 53
		<%= render_flash_messages %>
config/routes.rb
33 33
    admin.resources :artwork_conditions, :member => {:move => :put}
34 34
    admin.resources :artwork_sets, :has_many => [ :artwork_groups ]
35 35
    admin.resources :artworks, :has_many => [ :artwork_step_images ]
36
    admin.resources :users
36 37
  end
37 38

  
38 39
  # Install the default routes as the lowest priority.
db/schema.rb
131 131
  add_index "techniques", ["name", "acronym"], :name => "nom", :unique => true
132 132
  add_index "techniques", ["name"], :name => "nom_2"
133 133

  
134
  create_table "users", :force => true do |t|
135
    t.string   "login",           :limit => 64,                     :null => false
136
    t.string   "real_name",       :limit => 256
137
    t.string   "email",           :limit => 128
138
    t.string   "hashed_password", :limit => 512,                    :null => false
139
    t.string   "salt",            :limit => 64,                     :null => false
140
    t.datetime "created_at"
141
    t.datetime "updated_at"
142
    t.boolean  "admin",                          :default => false, :null => false
143
  end
144

  
145
  add_index "users", ["login"], :name => "login", :unique => true
146
  add_index "users", ["real_name"], :name => "real_name", :unique => true
147

  
134 148
end
po/MyCyma.pot
7 7
msgid ""
8 8
msgstr ""
9 9
"Project-Id-Version: MyCyma 0.1.0\n"
10
"POT-Creation-Date: 2008-09-18 23:59+0200\n"
10
"POT-Creation-Date: 2008-11-28 00:31+0100\n"
11 11
"PO-Revision-Date: 2008-07-28 02:17+0200\n"
12 12
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 13
"Language-Team: LANGUAGE <LL@li.org>\n"
......
148 148
msgid "ArtworkGroup|Comment"
149 149
msgstr ""
150 150

  
151
#: app/models/user.rb:-
152
msgid "user"
153
msgstr ""
154

  
155
#: app/models/user.rb:-
156
msgid "User|Login"
157
msgstr ""
158

  
159
#: app/models/user.rb:-
160
msgid "User|Real name"
161
msgstr ""
162

  
163
#: app/models/user.rb:-
164
msgid "User|Email"
165
msgstr ""
166

  
167
#: app/models/user.rb:-
168
msgid "User|Hashed password"
169
msgstr ""
170

  
171
#: app/models/user.rb:-
172
msgid "User|Salt"
173
msgstr ""
174

  
175
#: app/models/user.rb:-
176
msgid "User|Created at"
177
msgstr ""
178

  
179
#: app/models/user.rb:-
180
msgid "User|Updated at"
181
msgstr ""
182

  
183
#: app/models/user.rb:-
184
msgid "User|Admin"
185
msgstr ""
186

  
187
#: app/models/user.rb:11
188
msgid "Invalid email"
189
msgstr ""
190

  
151 191
#: app/models/artwork_condition.rb:-
152 192
msgid "artwork condition"
153 193
msgstr ""
......
281 321
msgid "New %s"
282 322
msgstr ""
283 323

  
284
#: app/helpers/application_helper.rb:126
285
#: app/views/admin/artwork_step_images/new.rhtml:5
286
#: app/views/admin/artwork_placement_reasons/new.rhtml:5
287
#: app/views/admin/artwork_materials/new.rhtml:5
288
#: app/views/admin/techniques/new.rhtml:5
289
#: app/views/admin/artwork_conditions/new.rhtml:5
290
#: app/views/admin/artwork_sets/new.rhtml:5
291
#: app/views/admin/artwork_sizes/new.rhtml:5
292
#: app/views/admin/artworks/new.rhtml:5
293
#: app/views/admin/artwork_groups/new.rhtml:5
294
msgid "Add"
295
msgstr ""
296

  
297 324
#: app/helpers/application_helper.rb:128
298 325
msgid "Cancel"
299 326
msgstr ""
......
328 355
msgid "Updated at:"
329 356
msgstr ""
330 357

  
358
#: app/controllers/application.rb:40
359
msgid "Please login to continue"
360
msgstr ""
361

  
362
#: app/controllers/logon_controller.rb:9
363
msgid "Login successful"
364
msgstr ""
365

  
366
#: app/controllers/logon_controller.rb:12
367
msgid "Login unsuccessful"
368
msgstr ""
369

  
331 370
#: app/views/welcome/index.rhtml:1
332 371
msgid "ArtBook Manager"
333 372
msgstr ""
......
342 381
msgid "Latest 10 Artworks"
343 382
msgstr ""
344 383

  
345
#: app/views/layouts/application.rhtml:20
384
#: app/views/layouts/application.rhtml:24
346 385
msgid "Setup the Cyma"
347 386
msgstr ""
348 387

  
349
#: app/views/layouts/application.rhtml:22
388
#: app/views/layouts/application.rhtml:26
350 389
msgid "Manage Artworks"
351 390
msgstr ""
352 391

  
353
#: app/views/layouts/application.rhtml:23
392
#: app/views/layouts/application.rhtml:27
354 393
msgid "Manage Artwork Conditions"
355 394
msgstr ""
356 395

  
357
#: app/views/layouts/application.rhtml:24
396
#: app/views/layouts/application.rhtml:28
358 397
msgid "Manage Artwork Materials"
359 398
msgstr ""
360 399

  
361
#: app/views/layouts/application.rhtml:25
400
#: app/views/layouts/application.rhtml:29
362 401
msgid "Manage Artwork Placement Reasons"
363 402
msgstr ""
364 403

  
365
#: app/views/layouts/application.rhtml:26
404
#: app/views/layouts/application.rhtml:30
366 405
msgid "Manage Artwork Sets & Groups"
367 406
msgstr ""
368 407

  
369
#: app/views/layouts/application.rhtml:27
408
#: app/views/layouts/application.rhtml:31
370 409
msgid "Manage Artwork Sizes"
371 410
msgstr ""
372 411

  
373
#: app/views/layouts/application.rhtml:28
412
#: app/views/layouts/application.rhtml:32
374 413
msgid "Manage Techniques"
375 414
msgstr ""
376 415

  
377
#: app/views/layouts/application.rhtml:31
416
#: app/views/layouts/application.rhtml:35
417
msgid "Manage Users"
418
msgstr ""
419

  
420
#: app/views/layouts/application.rhtml:40
378 421
msgid "About"
379 422
msgstr ""
380 423

  
381
#: app/views/layouts/application.rhtml:33
424
#: app/views/layouts/application.rhtml:42
382 425
msgid "Project page"
383 426
msgstr ""
384 427

  
385
#: app/views/layouts/application.rhtml:34
428
#: app/views/layouts/application.rhtml:43
386 429
msgid "Help"
387 430
msgstr ""
388 431

  
432
#: app/views/layouts/application.rhtml:48
433
msgid "Loggued in as '%s'"
434
msgstr ""
435

  
436
#: app/views/layouts/application.rhtml:49
437
msgid "Not loggued in"
438
msgstr ""
439

  
389 440
#: app/views/admin/artwork_step_images/new.rhtml:1
390 441
msgid "New Artwork Step"
391 442
msgstr ""
392 443

  
444
#: app/views/admin/artwork_step_images/new.rhtml:5
445
#: app/views/admin/artwork_placement_reasons/new.rhtml:5
446
#: app/views/admin/artwork_materials/new.rhtml:5
447
#: app/views/admin/techniques/new.rhtml:5
448
#: app/views/admin/artwork_conditions/new.rhtml:5
449
#: app/views/admin/artwork_sets/new.rhtml:5
450
#: app/views/admin/artwork_sizes/new.rhtml:5
451
#: app/views/admin/artworks/new.rhtml:5
452
#: app/views/admin/artwork_groups/new.rhtml:5
453
msgid "Add"
454
msgstr ""
455

  
393 456
#: app/views/admin/artwork_step_images/index.rhtml:1
394 457
msgid "Steps in Artwork '%s'"
395 458
msgstr ""
......
473 536

  
474 537
#: app/views/admin/artwork_step_images/_form.rhtml:7
475 538
#: app/views/admin/artworks/show.rhtml:37
476
#: app/views/admin/artworks/_form.rhtml:36
539
#: app/views/admin/artworks/_form.rhtml:37
477 540
msgid "Date:"
478 541
msgstr ""
479 542

  
......
485 548
msgid "Modify Artwork Step"
486 549
msgstr ""
487 550

  
551
#: app/views/admin/users/index.rhtml:1
552
msgid "Not implemented yet !"
553
msgstr ""
554

  
488 555
#: app/views/admin/artwork_placement_reasons/new.rhtml:1
489 556
msgid "New Artwork Placement Reason"
490 557
msgstr ""
......
700 767
msgid "Steps"
701 768
msgstr ""
702 769

  
703
#: app/views/admin/artworks/index.rhtml:20
770
#: app/views/admin/artworks/index.rhtml:24
704 771
#: app/views/admin/artworks/show.rhtml:49
705 772
msgid "View Steps"
706 773
msgstr ""
......
710 777
msgstr ""
711 778

  
712 779
#: app/views/admin/artworks/show.rhtml:12
713
#: app/views/admin/artworks/_form.rhtml:10
780
#: app/views/admin/artworks/_form.rhtml:11
714 781
msgid "General"
715 782
msgstr ""
716 783

  
......
719 786
msgstr ""
720 787

  
721 788
#: app/views/admin/artworks/show.rhtml:28
722
#: app/views/admin/artworks/_form.rhtml:25
789
#: app/views/admin/artworks/_form.rhtml:26
723 790
msgid "Size:"
724 791
msgstr ""
725 792

  
726 793
#: app/views/admin/artworks/show.rhtml:29
727
#: app/views/admin/artworks/_form.rhtml:27
794
#: app/views/admin/artworks/_form.rhtml:28
728 795
msgid "Material:"
729 796
msgstr ""
730 797

  
......
733 800
msgstr ""
734 801

  
735 802
#: app/views/admin/artworks/show.rhtml:32
736
#: app/views/admin/artworks/_form.rhtml:30
803
#: app/views/admin/artworks/_form.rhtml:31
737 804
msgid "Result"
738 805
msgstr ""
739 806

  
740 807
#: app/views/admin/artworks/show.rhtml:33
741
#: app/views/admin/artworks/_form.rhtml:31
808
#: app/views/admin/artworks/_form.rhtml:32
742 809
msgid "Condition:"
743 810
msgstr ""
744 811

  
745 812
#: app/views/admin/artworks/show.rhtml:34
746
#: app/views/admin/artworks/_form.rhtml:32
813
#: app/views/admin/artworks/_form.rhtml:33
747 814
msgid "Placement"
748 815
msgstr ""
749 816

  
750 817
#: app/views/admin/artworks/show.rhtml:35
751
#: app/views/admin/artworks/_form.rhtml:33
818
#: app/views/admin/artworks/_form.rhtml:34
752 819
msgid "Reason:"
753 820
msgstr ""
754 821

  
755 822
#: app/views/admin/artworks/show.rhtml:36
756
#: app/views/admin/artworks/_form.rhtml:35
823
#: app/views/admin/artworks/_form.rhtml:36
757 824
msgid "Location:"
758 825
msgstr ""
759 826

  
......
765 832
msgid "View all Steps"
766 833
msgstr ""
767 834

  
768
#: app/views/admin/artworks/_form.rhtml:11
835
#: app/views/admin/artworks/_form.rhtml:12
769 836
msgid "Title:"
770 837
msgstr ""
771 838

  
772
#: app/views/admin/artworks/_form.rhtml:12
839
#: app/views/admin/artworks/_form.rhtml:13
773 840
msgid "Set:"
774 841
msgstr ""
775 842

  
776
#: app/views/admin/artworks/_form.rhtml:14
843
#: app/views/admin/artworks/_form.rhtml:15
777 844
msgid "Position into Artwork Set:"
778 845
msgstr ""
779 846

  
780
#: app/views/admin/artworks/_form.rhtml:15
847
#: app/views/admin/artworks/_form.rhtml:16
781 848
msgid "Group:"
782 849
msgstr ""
783 850

  
784
#: app/views/admin/artworks/_form.rhtml:22
851
#: app/views/admin/artworks/_form.rhtml:23
785 852
msgid "Position into Artwork Group:"
786 853
msgstr ""
787 854

  
788
#: app/views/admin/artworks/_form.rhtml:28
855
#: app/views/admin/artworks/_form.rhtml:29
789 856
msgid "Techniques"
790 857
msgstr ""
791 858

  
po/fr/MyCyma.po
7 7
msgid ""
8 8
msgstr ""
9 9
"Project-Id-Version: MyCyma 0.1.0\n"
10
"POT-Creation-Date: 2008-09-18 23:59+0200\n"
10
"POT-Creation-Date: 2008-11-28 00:31+0100\n"
11 11
"PO-Revision-Date: 2008-07-28 02:17+0200\n"
12 12
"Last-Translator: Marc Dequènes (Duck) <Duck@DuckCorp.org>\n"
13 13
"MIME-Version: 1.0\n"
......
147 147
msgid "ArtworkGroup|Comment"
148 148
msgstr "Ensemble|Commentaire"
149 149

  
150
#: app/models/user.rb:-
151
msgid "user"
152
msgstr "utilisateur"
153

  
154
#: app/models/user.rb:-
155
msgid "User|Login"
156
msgstr "Utilisateur|Identifiant"
157

  
158
#: app/models/user.rb:-
159
msgid "User|Real name"
160
msgstr "Utilisateur|Nom"
161

  
162
#: app/models/user.rb:-
163
msgid "User|Email"
164
msgstr "Utilisateur|Email"
165

  
166
#: app/models/user.rb:-
167
msgid "User|Hashed password"
168
msgstr "Utilisateur|Mot de passe haché"
169

  
170
#: app/models/user.rb:-
171
msgid "User|Salt"
172
msgstr "Utilisateur|Sel"
173

  
174
#: app/models/user.rb:-
175
msgid "User|Created at"
176
msgstr "Utilisateur|Créé le :"
177

  
178
#: app/models/user.rb:-
179
msgid "User|Updated at"
180
msgstr "Utilisateur|Mis à jour le :"
181

  
182
#: app/models/user.rb:-
183
msgid "User|Admin"
184
msgstr "Utilisateur|Admin"
185

  
186
#: app/models/user.rb:11
187
msgid "Invalid email"
188
msgstr "Email invalide"
189

  
150 190
#: app/models/artwork_condition.rb:-
151 191
msgid "artwork condition"
152 192
msgstr "état de l'œuvre"
......
280 320
msgid "New %s"
281 321
msgstr "Nouveau/Nouvelle %s"
282 322

  
283
#: app/helpers/application_helper.rb:126
284
#: app/views/admin/artwork_step_images/new.rhtml:5
285
#: app/views/admin/artwork_placement_reasons/new.rhtml:5
286
#: app/views/admin/artwork_materials/new.rhtml:5
287
#: app/views/admin/techniques/new.rhtml:5
288
#: app/views/admin/artwork_conditions/new.rhtml:5
289
#: app/views/admin/artwork_sets/new.rhtml:5
290
#: app/views/admin/artwork_sizes/new.rhtml:5
291
#: app/views/admin/artworks/new.rhtml:5
292
#: app/views/admin/artwork_groups/new.rhtml:5
293
msgid "Add"
294
msgstr "Ajouter"
295

  
296 323
#: app/helpers/application_helper.rb:128
297 324
msgid "Cancel"
298 325
msgstr "Annuler"
......
327 354
msgid "Updated at:"
328 355
msgstr "Mis(e) à jour le :"
329 356

  
357
#: app/controllers/application.rb:40
358
msgid "Please login to continue"
359
msgstr "Veuillez vous identifier pour continuer"
360

  
361
#: app/controllers/logon_controller.rb:9
362
msgid "Login successful"
363
msgstr "Identification réussie"
364

  
365
#: app/controllers/logon_controller.rb:12
366
msgid "Login unsuccessful"
367
msgstr "Identification échouée"
368

  
330 369
#: app/views/welcome/index.rhtml:1
331 370
msgid "ArtBook Manager"
332 371
msgstr "Gestionnaire de Livre d'Art"
......
344 383
msgid "Latest 10 Artworks"
345 384
msgstr "10 Dernières Œuvres"
346 385

  
347
#: app/views/layouts/application.rhtml:20
386
#: app/views/layouts/application.rhtml:24
348 387
msgid "Setup the Cyma"
349 388
msgstr "Gérer la Cimaise"
350 389

  
351
#: app/views/layouts/application.rhtml:22
390
#: app/views/layouts/application.rhtml:26
352 391
msgid "Manage Artworks"
353 392
msgstr "Gérer les Œuvres"
354 393

  
355
#: app/views/layouts/application.rhtml:23
394
#: app/views/layouts/application.rhtml:27
356 395
msgid "Manage Artwork Conditions"
357 396
msgstr "Gérer les États des Œuvres"
358 397

  
359
#: app/views/layouts/application.rhtml:24
398
#: app/views/layouts/application.rhtml:28
360 399
msgid "Manage Artwork Materials"
361 400
msgstr "Gérer les Matériaux des Œuvres"
362 401

  
363
#: app/views/layouts/application.rhtml:25
402
#: app/views/layouts/application.rhtml:29
364 403
msgid "Manage Artwork Placement Reasons"
365 404
msgstr "Gérer les Raisons de Placement des Œuvres"
366 405

  
367
#: app/views/layouts/application.rhtml:26
406
#: app/views/layouts/application.rhtml:30
368 407
msgid "Manage Artwork Sets & Groups"
369 408
msgstr "Gérer les Séries et les Ensembles d'Œuvres"
370 409

  
371
#: app/views/layouts/application.rhtml:27
410
#: app/views/layouts/application.rhtml:31
372 411
msgid "Manage Artwork Sizes"
373 412
msgstr "Gérer les Dimensions des Œuvres"
374 413

  
375
#: app/views/layouts/application.rhtml:28
414
#: app/views/layouts/application.rhtml:32
376 415
msgid "Manage Techniques"
377 416
msgstr "Gérer les Techniques"
378 417

  
379
#: app/views/layouts/application.rhtml:31
418
#: app/views/layouts/application.rhtml:35
419
msgid "Manage Users"
420
msgstr "Gérer les Utilisateurs"
421

  
422
#: app/views/layouts/application.rhtml:40
380 423
msgid "About"
381 424
msgstr "À Propos"
382 425

  
383
#: app/views/layouts/application.rhtml:33
426
#: app/views/layouts/application.rhtml:42
384 427
msgid "Project page"
385 428
msgstr "Page du Projet"
386 429

  
387
#: app/views/layouts/application.rhtml:34
430
#: app/views/layouts/application.rhtml:43
388 431
msgid "Help"
389 432
msgstr "Aide"
390 433

  
434
#: app/views/layouts/application.rhtml:48
435
msgid "Loggued in as '%s'"
436
msgstr "Identifié en '%s'"
437

  
438
#: app/views/layouts/application.rhtml:49
439
msgid "Not loggued in"
440
msgstr "Non identifié"
441

  
391 442
#: app/views/admin/artwork_step_images/new.rhtml:1
392 443
msgid "New Artwork Step"
393 444
msgstr "Nouvelle Étape de l'Œuvre"
394 445

  
446
#: app/views/admin/artwork_step_images/new.rhtml:5
447
#: app/views/admin/artwork_placement_reasons/new.rhtml:5
448
#: app/views/admin/artwork_materials/new.rhtml:5
449
#: app/views/admin/techniques/new.rhtml:5
450
#: app/views/admin/artwork_conditions/new.rhtml:5
451
#: app/views/admin/artwork_sets/new.rhtml:5
452
#: app/views/admin/artwork_sizes/new.rhtml:5
453
#: app/views/admin/artworks/new.rhtml:5
454
#: app/views/admin/artwork_groups/new.rhtml:5
455
msgid "Add"
456
msgstr "Ajouter"
457

  
395 458
#: app/views/admin/artwork_step_images/index.rhtml:1
396 459
msgid "Steps in Artwork '%s'"
397 460
msgstr "Étapes de l'Œuvre '%s'"
......
475 538

  
476 539
#: app/views/admin/artwork_step_images/_form.rhtml:7
477 540
#: app/views/admin/artworks/show.rhtml:37
478
#: app/views/admin/artworks/_form.rhtml:36
541
#: app/views/admin/artworks/_form.rhtml:37
479 542
msgid "Date:"
480 543
msgstr "Date "
481 544

  
......
487 550
msgid "Modify Artwork Step"
488 551
msgstr "Modifier l'Étape de l'Œuvre"
489 552

  
553
#: app/views/admin/users/index.rhtml:1
554
msgid "Not implemented yet !"
555
msgstr "Pas encore implémenté !"
556

  
490 557
#: app/views/admin/artwork_placement_reasons/new.rhtml:1
491 558
msgid "New Artwork Placement Reason"
492 559
msgstr "Nouvelle Raison de Placement d'une Œuvre"
......
702 769
msgid "Steps"
703 770
msgstr "Étapes"
704 771

  
705
#: app/views/admin/artworks/index.rhtml:20
772
#: app/views/admin/artworks/index.rhtml:24
706 773
#: app/views/admin/artworks/show.rhtml:49
707 774
msgid "View Steps"
708 775
msgstr "Voir les Étapes"
......
712 779
msgstr "Œuvre '%s'"
713 780

  
714 781
#: app/views/admin/artworks/show.rhtml:12
715
#: app/views/admin/artworks/_form.rhtml:10
782
#: app/views/admin/artworks/_form.rhtml:11
716 783
msgid "General"
717 784
msgstr "Général"
718 785

  
......
721 788
msgstr "Série / Ensemble :"
722 789

  
723 790
#: app/views/admin/artworks/show.rhtml:28
724
#: app/views/admin/artworks/_form.rhtml:25
791
#: app/views/admin/artworks/_form.rhtml:26
725 792
msgid "Size:"
726 793
msgstr "Dimensions :"
727 794

  
728 795
#: app/views/admin/artworks/show.rhtml:29
729
#: app/views/admin/artworks/_form.rhtml:27
796
#: app/views/admin/artworks/_form.rhtml:28
730 797
msgid "Material:"
731 798
msgstr "Matériau :"
732 799

  
......
735 802
msgstr "Techniques :"
736 803

  
737 804
#: app/views/admin/artworks/show.rhtml:32
738
#: app/views/admin/artworks/_form.rhtml:30
805
#: app/views/admin/artworks/_form.rhtml:31
739 806
msgid "Result"
740 807
msgstr "Résultat"
741 808

  
742 809
#: app/views/admin/artworks/show.rhtml:33
743
#: app/views/admin/artworks/_form.rhtml:31
810
#: app/views/admin/artworks/_form.rhtml:32
744 811
msgid "Condition:"
745 812
msgstr "État :"
746 813

  
747 814
#: app/views/admin/artworks/show.rhtml:34
748
#: app/views/admin/artworks/_form.rhtml:32
815
#: app/views/admin/artworks/_form.rhtml:33
749 816
msgid "Placement"
750 817
msgstr "Placement"
751 818

  
752 819
#: app/views/admin/artworks/show.rhtml:35
753
#: app/views/admin/artworks/_form.rhtml:33
820
#: app/views/admin/artworks/_form.rhtml:34
754 821
msgid "Reason:"
755 822
msgstr "Raison :"
756 823

  
757 824
#: app/views/admin/artworks/show.rhtml:36
758
#: app/views/admin/artworks/_form.rhtml:35
825
#: app/views/admin/artworks/_form.rhtml:36
759 826
msgid "Location:"
760 827
msgstr "Lieu :"
761 828

  
......
767 834
msgid "View all Steps"
768 835
msgstr "Voir toutes les Étapes"
769 836

  
770
#: app/views/admin/artworks/_form.rhtml:11
837
#: app/views/admin/artworks/_form.rhtml:12
771 838
msgid "Title:"
772 839
msgstr "Titre :"
773 840

  
774
#: app/views/admin/artworks/_form.rhtml:12
841
#: app/views/admin/artworks/_form.rhtml:13
775 842
msgid "Set:"
776 843
msgstr "Série :"
777 844

  
778
#: app/views/admin/artworks/_form.rhtml:14
845
#: app/views/admin/artworks/_form.rhtml:15
779 846
msgid "Position into Artwork Set:"
780 847
msgstr "Position dans la Série :"
781 848

  
782
#: app/views/admin/artworks/_form.rhtml:15
849
#: app/views/admin/artworks/_form.rhtml:16
783 850
msgid "Group:"
784 851
msgstr "Ensemble :"
785 852

  
786
#: app/views/admin/artworks/_form.rhtml:22
853
#: app/views/admin/artworks/_form.rhtml:23
787 854
msgid "Position into Artwork Group:"
788 855
msgstr "Position dans l'Ensemble :"
789 856

  
790
#: app/views/admin/artworks/_form.rhtml:28
857
#: app/views/admin/artworks/_form.rhtml:29
791 858
msgid "Techniques"
792 859
msgstr "techniques"
793 860

  

Also available in: Unified diff