# HG changeset patch # User ymh # Date 1428064246 -7200 # Node ID da84d4baba330a513ab1e4953c311fc8a7032ca1 # Parent 40e125004a0b4319fc82c1c39500ca0a0658d300 fix renkan table column width especially with very long titles diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/de/LC_MESSAGES/django.po --- a/src/hdalab/locale/de/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/de/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -692,6 +692,11 @@ msgid "Edition" msgstr "" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "" @@ -908,11 +913,11 @@ "des arts." msgstr "" -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/en/LC_MESSAGES/django.po --- a/src/hdalab/locale/en/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/en/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: 2012-03-09 02:10+0200\n" "Last-Translator: Yves-Marie Haussonne \n" "Language-Team: IRI\n" @@ -748,6 +748,11 @@ msgid "Edition" msgstr "Edition" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "View Renkan" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "Are you sure you want to copy this renkan ?" @@ -969,19 +974,18 @@ " from \"Histoire des arts\" and Wikipedia resources.\n" " " - #: templates/renkan_list_favorite.html:6 msgid "" "Consultez et personnalisez les Renkan des repères chronologiques d'Histoire " "des arts." msgstr "" -"Consult and customize Renkans of chronological landmarks from \"Histoire " -"des arts\"." +"Consult and customize Renkans of chronological landmarks from \"Histoire des " +"arts\"." -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "More Resources" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "Period" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/es/LC_MESSAGES/django.po --- a/src/hdalab/locale/es/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/es/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -714,6 +714,13 @@ msgid "Edition" msgstr "Edición" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +#, fuzzy +#| msgid "reject renkan" +msgid "View renkan" +msgstr "rechazar un renkan" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "¿ Esta seguro que desea copiar este Renkan ?" @@ -932,10 +939,10 @@ "des arts." msgstr "" -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "Mas recursos" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "Periodo" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/fr/LC_MESSAGES/django.po --- a/src/hdalab/locale/fr/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/fr/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -758,6 +758,11 @@ msgid "Edition" msgstr "Édition" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "Voir renkan" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "Êtes-vous certain(e) de vouloir copier ce Renkan ?" @@ -982,7 +987,6 @@ " à partir des ressources Histoire des arts et Wikipedia.\n" " " - #: templates/renkan_list_favorite.html:6 msgid "" "Consultez et personnalisez les Renkan des repères chronologiques d'Histoire " @@ -991,10 +995,10 @@ "Consultez et personnalisez les Renkan des repères chronologiques d'Histoire " "des arts." -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "Plus de Ressources" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "Période" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/it/LC_MESSAGES/django.po --- a/src/hdalab/locale/it/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/it/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -698,6 +698,11 @@ msgid "Edition" msgstr "" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "" @@ -914,11 +919,11 @@ "des arts." msgstr "" -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/ja/LC_MESSAGES/django.po --- a/src/hdalab/locale/ja/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/ja/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -699,6 +699,11 @@ msgid "Edition" msgstr "" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "" @@ -915,11 +920,11 @@ "des arts." msgstr "" -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/locale/zh-tw/LC_MESSAGES/django.po --- a/src/hdalab/locale/zh-tw/LC_MESSAGES/django.po Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/locale/zh-tw/LC_MESSAGES/django.po Fri Apr 03 14:30:46 2015 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-02 17:42-0500\n" +"POT-Creation-Date: 2015-04-03 06:24-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -699,6 +699,11 @@ msgid "Edition" msgstr "" +#: templates/profile_home.html:94 templates/profile_home.html.py:102 +#: templates/renkan_list.html:74 templates/renkan_list.html.py:82 +msgid "View renkan" +msgstr "" + #: templates/profile_home.html:106 templates/renkan_list.html:86 msgid "Are you sure you want to copy this renkan ?" msgstr "" @@ -915,11 +920,11 @@ "des arts." msgstr "" -#: views/profile.py:445 +#: views/profile.py:443 msgid "Plus de Ressources" msgstr "" -#: views/profile.py:454 views/profile.py:533 +#: views/profile.py:452 views/profile.py:531 msgid "Period" msgstr "" diff -r 40e125004a0b -r da84d4baba33 src/hdalab/static/hdalab/css/profile.css --- a/src/hdalab/static/hdalab/css/profile.css Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/static/hdalab/css/profile.css Fri Apr 03 14:30:46 2015 +0200 @@ -13,7 +13,19 @@ } tr { + text-align: center; +} + +td:FIRST-CHILD, th:FIRST-CHILD { text-align: left; + width: 440px; + max-width: 440px; +} + +.renkan-list-title-div { + word-wrap: break-word; /* All browsers since IE 5.5+ */ + overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */ + width: 100%; } tr.border_bottom th, tr.border_bottom td { @@ -21,10 +33,6 @@ padding: 5px; } -th a { - float: left; -} - .renkan_list_actions { white-space: nowrap; width: 90px; @@ -34,6 +42,10 @@ display: inline; } +.ui-icon { + display: inline-block; +} + button.renkan-inline-action { margin: 0; padding: 0; diff -r 40e125004a0b -r da84d4baba33 src/hdalab/templates/profile_home.html --- a/src/hdalab/templates/profile_home.html Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/templates/profile_home.html Fri Apr 03 14:30:46 2015 +0200 @@ -91,7 +91,7 @@ {% for hr in page.object_list %} {% with hr.renkan as r %} - {{ r.title }} + {% if hr.favorite %} {% else %} {% endif %} {{ r.modification_date|date:"Y-m-d H:i" }} {% thumbnail r.image 100x100 as thumb %} @@ -99,7 +99,7 @@ {% if hr.state == 1 %} {% else %}{% endif %} - +
{% csrf_token %} diff -r 40e125004a0b -r da84d4baba33 src/hdalab/templates/renkan_list.html --- a/src/hdalab/templates/renkan_list.html Fri Apr 03 02:22:15 2015 +0200 +++ b/src/hdalab/templates/renkan_list.html Fri Apr 03 14:30:46 2015 +0200 @@ -71,7 +71,7 @@ {% for hr in page.object_list %} {% with hr.renkan as r %} - {{ r.title }} + {% if not hide_favorite %} {% if hr.favorite %} {% else %} {% endif %} {% endif %} @@ -79,7 +79,7 @@ {{ r.modification_date|date:"Y-m-d H:i" }} {% thumbnail r.image 100x100 as thumb %} - + {% csrf_token %}