Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed confirmation when clicking 'Sign Out'

  • Loading branch information...
commit 50fb52962ce1c53bc71033c62d85802f56ccfce1 1 parent 281cc21
Francesc Esplugas fesplugas authored
2  CHANGELOG.md
View
@@ -48,6 +48,8 @@ CHANGELOG
duplicated. We also have plans to remove the sidebar, so consider this as an
starting point. (Sidebar will be replaced by a drop down menu.)
+ * [CHANGED] No need to confirm when pressing "Sign out".
+
Changes: <https://github.com/fesplugas/typus/compare/v3.1.9...master>
2  app/views/helpers/admin/base/_login_info.html.erb
View
@@ -1,4 +1,4 @@
<ul>
<li><%= Typus::I18n.t("Logged in as") %> <%= link_to admin_user.to_label, { :controller => "/admin/#{Typus.user_class.to_resource}", :action => 'edit', :id => admin_user.id } %></li>
- <li><%= link_to Typus::I18n.t("Sign out"), admin_sign_out_path, :method => :delete, :confirm => Typus::I18n.t("Are you sure you want to sign out and end your session?") %></li>
+ <li><%= link_to Typus::I18n.t("Sign out"), admin_sign_out_path, :method => :delete %></li>
</ul>
1  config/locales/typus.ca.yml
View
@@ -9,7 +9,6 @@ ca:
"Add New": "Afegir nou"
"All": "Tots"
"Are you sure?": "Estàs segur?"
- "Are you sure you want to sign out and end your session?": "Estàs segur que vols sortir i tancar la sessió?"
"Change %{attribute}?": "Canviar %{attribute}?"
"Create %{resource}": "Crear %{resource}"
1  config/locales/typus.de.yml
View
@@ -10,7 +10,6 @@ de:
"Add New": "Erstellen"
"All" : 'Alle'
"Are you sure?": "Sind Sie sicher?"
- "Are you sure you want to sign out and end your session?": "Wollen Sie sich abmelden und die Sitzung beenden?"
"Assign": "Zuweisen"
"Change %{attribute}?": "%{attribute} ändern?"
1  config/locales/typus.el.yml
View
@@ -8,7 +8,6 @@ el:
"Add": "Προσθήκη"
"Add New": "Προσθήκη νέου"
"Are you sure?": "Είσαστε βέβαιοι;"
- "Are you sure you want to sign out and end your session?": "Είσαστε σίγουροι ότι επιθυμείτε να αποσυνδεθείτε και να τερματίσετε το session;"
"Change %{attribute}?": "Τροποποίηση του χαρακτηριστικού %{attribute};"
"Create %{resource}": "Δημιουργία %{resource}"
1  config/locales/typus.es.yml
View
@@ -10,7 +10,6 @@ es:
"Add New %{resource}": "Añadir Nuevo %{resource}"
"All": "Todos"
"Are you sure?": "¿Estás seguro?"
- "Are you sure you want to sign out and end your session?": "¿Estás seguro que quieres salir y cerrar la sessión?"
"Change %{attribute}?": "Cambiar %{attribute}?"
"Create %{resource}": "Crear %{resource}"
1  config/locales/typus.fr.yml
View
@@ -9,7 +9,6 @@ fr:
"Add": "Ajouter"
"Add New": "Ajouter nouveau"
"Are you sure?": "Êtes-vous sûre ?"
- "Are you sure you want to sign out and end your session?": "Etes-vous sûre de vouloir vous déconnecter et mettre fin à votre session ?"
"Bottom": "À la fin"
1  config/locales/typus.hu.yml
View
@@ -8,7 +8,6 @@ hu:
"Add": "Hozzáad"
"Add New": "Új hozzáadása"
"Are you sure?": "Biztos vagy benne?"
- "Are you sure you want to sign out and end your session?": "Biztosan ki akarsz lépni?"
"Change %{attribute}?": "Megváltoztatod ezt: %{attribute}?"
"Create %{resource}": "%{resource} létrehozása"
1  config/locales/typus.it.yml
View
@@ -8,7 +8,6 @@ it:
"Add": "Inserisci"
"Add New": "Inserisci nuovo"
"Are you sure?": "Sei sicuro?"
- "Are you sure you want to sign out and end your session?": "Sei sicuro che vuoi disconnetterti dal sistema?"
"Change %{attribute}?": "Vuoi cambiare %{attribute}?"
"Create %{resource}": "Inserisci %{resource}"
1  config/locales/typus.locale.yml.template
View
@@ -9,7 +9,6 @@
"Add New":
"All":
"Are you sure?":
- "Are you sure you want to sign out and end your session?":
"Change %{attribute}?":
"Create %{resource}":
1  config/locales/typus.pt-BR.yml
View
@@ -8,7 +8,6 @@ pt-BR:
"Add": "Adicionar"
"Add New": "Adicionar novo"
"Are you sure?":
- "Are you sure you want to sign out and end your session?": "Tem certeza que quer sair e encerrar sua sessão?"
"Change %{attribute}?": "Mudar %{attribute}?"
"Create %{resource}": "Criar %{resource}"
1  config/locales/typus.pt-PT.yml
View
@@ -8,7 +8,6 @@
"Add": "Adicionar"
"Add New": "Adicionar novo"
"Are you sure?": "Tem a certeza?"
- "Are you sure you want to sign out and end your session?": "Tem certeza que quer sair e encerrar sua sessão?"
"Change %{attribute}?": "Mudar %{attribute}?"
"Create %{resource}": "Criar %{resource}"
1  config/locales/typus.ru.yml
View
@@ -8,7 +8,6 @@ ru:
"Add": "Добавить"
"Add New": "Добавить новый"
"Are you sure?":
- "Are you sure you want to sign out and end your session?":
"Change %{attribute}?": "Изменить %{attribute}?"
"Create %{resource}": "Создать %{resource}"
1  config/locales/typus.zh-CN.yml
View
@@ -8,7 +8,6 @@ zh-CN:
"Add": "新增"
"Add New": "新增"
"Are you sure?": "你是否确认?"
- "Are you sure you want to sign out and end your session?": "你是否确认登出并结束本次会话?"
"Change %{attribute}?": "改变 %{attribute}"
"Create %{resource}": "创建 %{resource}"
Please sign in to comment.
Something went wrong with that request. Please try again.