Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
Add tooltip explanation about id
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj committed Jul 21, 2016
1 parent b159e92 commit 3c2848a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 40 deletions.
30 changes: 9 additions & 21 deletions src/Locale/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2016-07-20 14:34+0000\n"
"POT-Creation-Date: 2016-07-21 14:20+0000\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
Expand Down Expand Up @@ -168,7 +168,14 @@ msgid "Submit"
msgstr ""

#: Template/Petition/index.ctp:30
msgid "id"
msgid "Identifier"
msgstr ""

#: Template/Petition/index.ctp:30
#: Template/Posts/view.ctp:29
#: Template/Signatures/view.ctp:27
#: Template/Users/view.ctp:30;60
msgid "Id"
msgstr ""

#: Template/Petition/index.ctp:31
Expand Down Expand Up @@ -286,12 +293,6 @@ msgstr ""
msgid "View on site"
msgstr ""

#: Template/Posts/view.ctp:29
#: Template/Signatures/view.ctp:27
#: Template/Users/view.ctp:30;60
msgid "Id"
msgstr ""

#: Template/Posts/view.ctp:33
msgid "User"
msgstr ""
Expand Down Expand Up @@ -383,16 +384,3 @@ msgstr ""
msgid "Title"
msgstr ""

#: Template/Error/error400.ctp:36
#: Template/Error/error500.ctp:41
msgid "Error"
msgstr ""

#: Template/Error/error400.ctp:38
msgid "The requested address %s was not found on this server."
msgstr ""

#: Template/Error/error500.ctp:39
msgid "An Internal Error Has Occurred"
msgstr ""

36 changes: 18 additions & 18 deletions src/Locale/pl/default.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2016-07-20 16:36+0200\n"
"PO-Revision-Date: 2016-07-21 15:29+0200\n"
"POT-Creation-Date: 2016-07-21 16:21+0200\n"
"PO-Revision-Date: 2016-07-21 16:21+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl\n"
Expand Down Expand Up @@ -151,8 +151,13 @@ msgid "Submit"
msgstr "Zatwierdź"

#: Template/Petition/index.ctp:30
msgid "id"
msgstr "id"
msgid "Identifier"
msgstr "Numer porządkowy"

#: Template/Petition/index.ctp:30 Template/Posts/view.ctp:29
#: Template/Signatures/view.ctp:27 Template/Users/view.ctp:30;60
msgid "Id"
msgstr "Id"

#: Template/Petition/index.ctp:31
msgid "Name"
Expand Down Expand Up @@ -241,11 +246,6 @@ msgstr "Usuń Post"
msgid "View on site"
msgstr "Zobacz na stronie"

#: Template/Posts/view.ctp:29 Template/Signatures/view.ctp:27
#: Template/Users/view.ctp:30;60
msgid "Id"
msgstr "Id"

#: Template/Posts/view.ctp:33
msgid "User"
msgstr "Użytkownik"
Expand Down Expand Up @@ -328,14 +328,14 @@ msgstr "Powiązane Posty"
msgid "Title"
msgstr "Tytuł"

#: Template/Error/error400.ctp:36 Template/Error/error500.ctp:41
msgid "Error"
msgstr "Błąd"
#~ msgid "id"
#~ msgstr "id"

#~ msgid "Error"
#~ msgstr "Błąd"

#: Template/Error/error400.ctp:38
msgid "The requested address %s was not found on this server."
msgstr "Żądany adres %s nie został odnaleziony na serwerze."
#~ msgid "The requested address %s was not found on this server."
#~ msgstr "Żądany adres %s nie został odnaleziony na serwerze."

#: Template/Error/error500.ctp:39
msgid "An Internal Error Has Occurred"
msgstr "Wystąpił błąd wewnętrzny"
#~ msgid "An Internal Error Has Occurred"
#~ msgstr "Wystąpił błąd wewnętrzny"
12 changes: 11 additions & 1 deletion src/Template/Petition/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<table class="table">
<thead>
<tr>
<th scope="col" class="col-xs-1"><?= __('Id') ?></th>
<th scope="col" class="col-xs-1" ><span data-toggle="tooltip" title="<?= __('Identifier'); ?>"><?= __('Id') ?></span></th>
<th scope="col"><?= __('Name') ?></th>
</tr>
</thead>
Expand Down Expand Up @@ -55,3 +55,13 @@
</div>
</div>
</div>
<?php $this->append('script'); ?>
<script>tinymce.init({ selector:'.tinymce' });</script>
<script>
(function ($) {
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
}) (jQuery)
</script>
<?php $this->end();?>

0 comments on commit 3c2848a

Please sign in to comment.