Skip to content
Snippets Groups Projects
Commit 150a5119 authored by pabois's avatar pabois
Browse files

wip server

parent 50ae8d72
No related branches found
No related tags found
No related merge requests found
<% content_for :title, "Bonjour #{ current_user.first_name }!" %>
<div class="row">
<% @universities.each do |university| %>
<div class="col-md-3">
<div class="card">
<div class="card-body">
<h4><%= university %></h4>
<%= link_to 'Voir', [:server, university], class: button_classes('stretched-link') %>
</div>
</div>
</div>
<% end %>
</div>
......@@ -3,8 +3,8 @@
<table class="<%= table_classes %>">
<thead>
<tr>
<th>Name</th>
<th>Iso code</th>
<th><%= Language.human_attribute_name('name') %></th>
<th><%= Language.human_attribute_name('iso_code') %></th>
<th></th>
</tr>
</thead>
......
......@@ -7,27 +7,27 @@
</p>
<p>
<strong>Address:</strong>
<strong><%= University.human_attribute_name('address') %>:</strong>
<%= @university.address %>
</p>
<p>
<strong>Zipcode:</strong>
<strong><%= University.human_attribute_name('zipcode') %>:</strong>
<%= @university.zipcode %>
</p>
<p>
<strong>City:</strong>
<strong><%= University.human_attribute_name('city') %>:</strong>
<%= @university.city %>
</p>
<p>
<strong>Country:</strong>
<strong><%= University.human_attribute_name('country') %>:</strong>
<%= @university.country %>
</p>
<p>
<strong>Private:</strong>
<strong><%= University.human_attribute_name('private') %>:</strong>
<%= @university.private %>
</p>
</div>
......
en:
activerecord:
attributes:
language:
iso_code: Iso code
name: Name
university:
address: Address
city: City
country: Country
identifier: Identifier
logo: Logo
name: Name
private: Private
public: Public
public_or_private: Public/private
zipcode: Zipcode
user:
email: Email
first_name: First name
......@@ -11,25 +25,15 @@ en:
researcher: Researcher profile
role: Role
models:
language:
one: Language
other: Languages
university:
language:
one: Language
other: Languages
user:
attributes:
university:
address: Address
city: City
country: Country
name: Name
private: Private
public: Public
public_or_private: Public/private
zipcode: Zipcode
one: User
other: Users
one: University
other: Universities
user:
one: User
other: Users
create: Create
dashboard: Dashboard
delete: Delete
......
fr:
activerecord:
attributes:
language:
iso_code: Code Iso
name: Nom
university:
address: Adresse
city: Ville
country: Pays
identifier: Identifiant
logo: Logo
name: Nom
private: Etablissement privé
public: Public
public_or_private: Public/privé
zipcode: Code postal
user:
email: Email
first_name: Prénom
......@@ -11,25 +25,15 @@ fr:
researcher: Profil de chercheur
role: Rôle
models:
language:
one: Langue
other: Langues
university:
language:
one: Langue
other: Langues
user:
attributes:
university:
address: Adresse
city: Ville
country: Pays
name: Nom
private: Etablissement privé
public: Public
public_or_private: Public/privé
zipcode: Code postal
one: Utilisateur
other: Utilisateurs
one: Université
other: Universités
user:
one: Utilisateur
other: Utilisateurs
create: Créer
dashboard: Tableau de bord
delete: Supprimer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment