Plugin Directory

Changeset 2058867


Ignore:
Timestamp:
03/28/2019 11:50:35 AM (7 years ago)
Author:
sebastiantiede
Message:

Release version 0.0.4

Location:
wp-open-votomat
Files:
3031 added
7 edited

Legend:

Unmodified
Added
Removed
  • wp-open-votomat/trunk/includes/admin/post_type-voting.php

    r2053270 r2058867  
    219219            'id'         => $this->prefix . 'questions',
    220220            'type'        => 'group',
    221             'description' => __( 'Generates reusable form questions', WPOV__PLUGIN_NAME_SLUG ),
    222221            // 'repeatable'  => false, // use false if you want non-repeatable group
    223222            'options'     => array(
  • wp-open-votomat/trunk/languages/wp-open-votomat-de_DE.po

    r2053270 r2058867  
    55"Project-Id-Version: Shortcake (Shortcode UI) 0.7.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
    7 "POT-Creation-Date: 2019-02-18 11:26+0100\n"
    8 "PO-Revision-Date: 2019-02-18 11:27+0100\n"
     7"POT-Creation-Date: 2019-03-28 11:48+0100\n"
     8"PO-Revision-Date: 2019-03-28 11:49+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    2424"X-Poedit-SearchPathExcluded-0: bower_components\n"
    2525"X-Poedit-SearchPathExcluded-1: vendor\n"
     26"X-Poedit-SearchPathExcluded-2: wpov_template/twentynineteen/"
     27"bower_components\n"
    2628
    2729#: wpov_template/twentyfourteen/twig/page.twig:8
     
    3032msgstr "zur Startseite"
    3133
    32 #: wpov_template/twentynineteen/twig/components/voting-form.twig:12
     34#: wpov_template/twentynineteen/twig/components/voting-form.twig:10
    3335msgid "weight twice?"
    3436msgstr "doppelt gewichten?"
    3537
    36 #: wpov_template/twentynineteen/twig/components/voting-form.twig:20
     38#: wpov_template/twentynineteen/twig/components/voting-form.twig:18
    3739#: includes/admin/post_type-party.php:132
    3840msgid "Approve"
    3941msgstr "Stimme zu"
    4042
    41 #: wpov_template/twentynineteen/twig/components/voting-form.twig:21
     43#: wpov_template/twentynineteen/twig/components/voting-form.twig:19
    4244#: includes/admin/post_type-party.php:133
    4345msgid "Neutral"
    4446msgstr "Neutral"
    4547
    46 #: wpov_template/twentynineteen/twig/components/voting-form.twig:22
     48#: wpov_template/twentynineteen/twig/components/voting-form.twig:20
    4749#: includes/admin/post_type-party.php:134
    4850msgid "Disapprove"
    4951msgstr "Stimme nicht zu"
    5052
    51 #: wpov_template/twentynineteen/twig/components/voting-form.twig:30
     53#: wpov_template/twentynineteen/twig/components/voting-form.twig:28
    5254#, python-format
    5355msgid "<a href=\"%s\">Skip</a> question, go to <a href=\"%s\">result</a>."
     
    5557"Frage <a href=\"%s\">überspringen</a>, direkt zum <a href=\"%s\">Ergebnis</"
    5658"a>."
     59
     60#: wpov_template/twentynineteen/twig/home.twig:35
     61msgid "Visible for admins only!"
     62msgstr "Nur für Admins sichtbar!"
    5763
    5864#: wpov_template/twentynineteen/twig/page-voting-compare.twig:9
     
    6066msgstr "Im direkten Vergleich"
    6167
    62 #: wpov_template/twentynineteen/twig/page-voting-compare.twig:14
     68#: wpov_template/twentynineteen/twig/page-voting-compare.twig:20
     69#: wpov_template/twentynineteen/twig/page-voting.twig:11
    6370#: includes/admin/post_type-question.php:75
    6471#: includes/admin/post_type-question.php:85
    6572#: includes/admin/post_type-voting.php:41
    66 #: includes/admin/post_type-voting.php:212 wp-open-votomat.php:296
     73#: includes/admin/post_type-voting.php:238 wp-open-votomat.php:322
    6774msgid "Question"
    6875msgstr "Frage"
    6976
    70 #: wpov_template/twentynineteen/twig/page-voting-compare.twig:15
     77#: wpov_template/twentynineteen/twig/page-voting-compare.twig:21
    7178msgid "You"
    7279msgstr "Du"
    7380
    74 #: wpov_template/twentynineteen/twig/page-voting-compare.twig:75
     81#: wpov_template/twentynineteen/twig/page-voting-compare.twig:82
    7582msgid "Back to overview"
    7683msgstr "Zurück zur Übersicht"
     
    8289#: wpov_template/twentynineteen/twig/page-voting-result.twig:11
    8390#: includes/admin/post_type-voting.php:45
    84 #: includes/admin/post_type-voting.php:162 wp-open-votomat.php:263
     91#: includes/admin/post_type-voting.php:189 wp-open-votomat.php:289
    8592msgid "Party"
    8693msgstr "Partei"
     
    138145
    139146#: includes/admin/options-settings.php:25
    140 #: includes/admin/post_type-voting.php:231
     147#: includes/admin/post_type-voting.php:257
    141148msgid "Settings"
    142149msgstr "Einstellungen"
     
    190197msgstr "3 Spalten"
    191198
    192 #: includes/admin/options-settings.php:570
     199#: includes/admin/options-settings.php:571
     200msgid "Custom style"
     201msgstr "Benutzerdefinierte Gestaltung"
     202
     203#: includes/admin/options-settings.php:582
     204msgid "External CSS"
     205msgstr "Externer CSS"
     206
     207#: includes/admin/options-settings.php:588
     208msgid "Custom CSS"
     209msgstr "Benutzerdefinierter CSS"
     210
     211#: includes/admin/options-settings.php:608
    193212msgid "Migration"
    194213msgstr "Migration"
     
    243262#: includes/admin/post_type-voting.php:25
    244263#: includes/admin/post_type-voting.php:46
    245 #: includes/admin/post_type-voting.php:122 wp-open-votomat.php:262
     264#: includes/admin/post_type-voting.php:149 wp-open-votomat.php:288
    246265msgid "Parties"
    247266msgstr "Parteien"
     
    249268#: includes/admin/post_type-voting.php:26
    250269#: includes/admin/post_type-voting.php:42
    251 #: includes/admin/post_type-voting.php:173 wp-open-votomat.php:295
     270#: includes/admin/post_type-voting.php:200 wp-open-votomat.php:321
    252271msgid "Questions"
    253272msgstr "Fragen"
     
    257276msgstr "Zeitraum"
    258277
    259 #: includes/admin/post_type-voting.php:68
     278#: includes/admin/post_type-voting.php:66
    260279msgid "Voting is live!"
    261280msgstr "Wahl ist live!"
    262281
    263 #: includes/admin/post_type-voting.php:69
     282#: includes/admin/post_type-voting.php:72
     283msgid "Voting is on hold!"
     284msgstr "Wahl ist in Wartestellung!"
     285
     286#: includes/admin/post_type-voting.php:78
     287msgid "Voting has ended!"
     288msgstr "Wahl wurde beendet!"
     289
     290#: includes/admin/post_type-voting.php:83
    264291msgid "Voting has ended but is kept online!"
    265292msgstr "Wahl wurde beendet aber ist weiterhin online!"
    266293
    267 #: includes/admin/post_type-voting.php:76
    268 msgid "Voting is on hold!"
    269 msgstr "Wahl ist in Wartestellung!"
    270 
    271 #: includes/admin/post_type-voting.php:82
    272 msgid "Voting has ended!"
    273 msgstr "Wahl wurde beendet!"
    274 
    275294#: includes/admin/post_type-voting.php:88
    276 #: includes/admin/post_type-voting.php:239
     295#: includes/admin/post_type-voting.php:265
    277296msgid "From"
    278297msgstr "Von"
     
    291310msgstr "Gebe den Wahl-Titel hier ein"
    292311
    293 #: includes/admin/post_type-voting.php:135
     312#: includes/admin/post_type-voting.php:122
     313msgid "Descriptions"
     314msgstr "Beschreibung"
     315
     316#: includes/admin/post_type-voting.php:130
     317msgid "Description before publication"
     318msgstr "Beschreibung vor der Veröffentlichung"
     319
     320#: includes/admin/post_type-voting.php:137
     321msgid "Description after expiry"
     322msgstr "Beschreibung nach Ablauf"
     323
     324#: includes/admin/post_type-voting.php:138
     325msgid "If this field is empty this voting will disappear after expiration!"
     326msgstr "Wenn dieses Feld leer ist, verschwindet diese Wahl nach Ablauf!"
     327
     328#: includes/admin/post_type-voting.php:162
    294329msgid ""
    295330"No parties have been created so far. If you have created some, you can link "
     
    299334"sie an dieser Stelle verlinken!"
    300335
    301 #: includes/admin/post_type-voting.php:147
     336#: includes/admin/post_type-voting.php:174
    302337msgid "Party {#}"
    303338msgstr "Partei {#}"
    304339
    305 #: includes/admin/post_type-voting.php:148
     340#: includes/admin/post_type-voting.php:175
    306341msgid "Add Another Party"
    307342msgstr "Weitere Partei hinzufügen"
    308343
    309 #: includes/admin/post_type-voting.php:149
     344#: includes/admin/post_type-voting.php:176
    310345msgid "Remove Party"
    311346msgstr "Partei entfernen"
    312347
    313 #: includes/admin/post_type-voting.php:184
     348#: includes/admin/post_type-voting.php:211
    314349msgid ""
    315350"No questions have been created so far. If you have created some, you can "
     
    319354"sie hier verknüpfen!"
    320355
    321 #: includes/admin/post_type-voting.php:194
    322 msgid "Generates reusable form questions"
    323 msgstr ""
    324 
    325 #: includes/admin/post_type-voting.php:197
     356#: includes/admin/post_type-voting.php:223
    326357msgid "Question {#}"
    327358msgstr "Frage {#}"
    328359
    329 #: includes/admin/post_type-voting.php:198
     360#: includes/admin/post_type-voting.php:224
    330361msgid "Add Another Question"
    331362msgstr "Weitere Frage hinzufügen"
    332363
    333 #: includes/admin/post_type-voting.php:199
     364#: includes/admin/post_type-voting.php:225
    334365msgid "Remove Question"
    335366msgstr "Frage entfernen"
    336367
    337 #: includes/admin/post_type-voting.php:245
     368#: includes/admin/post_type-voting.php:271
    338369msgid "to"
    339370msgstr "bis"
    340371
    341 #: includes/admin/post_type-voting.php:251
    342 msgid "Keep online"
    343 msgstr "Online halten"
     372#: includes/admin/post_type-voting.php:277
     373msgid "Keep online after expiration"
     374msgstr "Nach Ablauf online halten"
    344375
    345376#: includes/helpers/helpers.php:175
     
    384415msgstr[1] "Sekunden"
    385416
    386 #: wp-open-votomat.php:213
     417#: wp-open-votomat.php:237
    387418msgid "WPOV Footer Menu"
    388419msgstr "WPOV Fußmenü"
    389420
    390 #: wp-open-votomat.php:264 wp-open-votomat.php:297 wp-open-votomat.php:328
     421#: wp-open-votomat.php:290 wp-open-votomat.php:323 wp-open-votomat.php:354
    391422msgid "Add New"
    392423msgstr "Neue hinzufügen"
    393424
    394 #: wp-open-votomat.php:265
     425#: wp-open-votomat.php:291
    395426msgid "Add New Party"
    396427msgstr "Neue Partei hinzufügen"
    397428
    398 #: wp-open-votomat.php:266
     429#: wp-open-votomat.php:292
    399430msgid "Edit Party"
    400431msgstr "Partei bearbeiten"
    401432
    402 #: wp-open-votomat.php:267
     433#: wp-open-votomat.php:293
    403434msgid "New Party"
    404435msgstr "Neue Partei"
    405436
    406 #: wp-open-votomat.php:268
     437#: wp-open-votomat.php:294
    407438msgid "View Party"
    408439msgstr "Partei ansehen"
    409440
    410 #: wp-open-votomat.php:269
     441#: wp-open-votomat.php:295
    411442msgid "Search Parties"
    412443msgstr "Nach Partei suchen"
    413444
    414 #: wp-open-votomat.php:270
     445#: wp-open-votomat.php:296
    415446msgid "No Parties found"
    416447msgstr "Keine Partei gefunden"
    417448
    418 #: wp-open-votomat.php:271
     449#: wp-open-votomat.php:297
    419450msgid "No Parties found in Trash"
    420451msgstr "Keine Partei im Papierkorb gefunden"
    421452
    422 #: wp-open-votomat.php:298
     453#: wp-open-votomat.php:324
    423454msgid "Add New Question"
    424455msgstr "Neue Frage hinzufügen"
    425456
    426 #: wp-open-votomat.php:299
     457#: wp-open-votomat.php:325
    427458msgid "Edit Question"
    428459msgstr "Frage bearbeiten"
    429460
    430 #: wp-open-votomat.php:300
     461#: wp-open-votomat.php:326
    431462msgid "New Question"
    432463msgstr "Neue Frage"
    433464
    434 #: wp-open-votomat.php:301
     465#: wp-open-votomat.php:327
    435466msgid "View Question"
    436467msgstr "Frage ansehen"
    437468
    438 #: wp-open-votomat.php:302
     469#: wp-open-votomat.php:328
    439470msgid "Search Questions"
    440471msgstr "Nach Fragen suchen"
    441472
    442 #: wp-open-votomat.php:303
     473#: wp-open-votomat.php:329
    443474msgid "No Questions found"
    444475msgstr "Keine Fragen gefunden"
    445476
    446 #: wp-open-votomat.php:304
     477#: wp-open-votomat.php:330
    447478msgid "No Questions found in Trash"
    448479msgstr "Keine Fragen im Papierkorb gefunden"
    449480
    450 #: wp-open-votomat.php:326
     481#: wp-open-votomat.php:352
    451482msgid "Votings"
    452483msgstr "Wahlen"
    453484
    454 #: wp-open-votomat.php:327
     485#: wp-open-votomat.php:353
    455486msgid "Voting"
    456487msgstr "Wahl"
    457488
    458 #: wp-open-votomat.php:329
     489#: wp-open-votomat.php:355
    459490msgid "Add New Voting"
    460491msgstr "Neue Wahl hinzufügen"
    461492
    462 #: wp-open-votomat.php:330
     493#: wp-open-votomat.php:356
    463494msgid "Edit Voting"
    464495msgstr "Wahl bearbeiten"
    465496
    466 #: wp-open-votomat.php:331
     497#: wp-open-votomat.php:357
    467498msgid "New Voting"
    468499msgstr "Neue Wahl"
    469500
    470 #: wp-open-votomat.php:332
     501#: wp-open-votomat.php:358
    471502msgid "View Voting"
    472503msgstr "Wahl ansehen"
    473504
    474 #: wp-open-votomat.php:333
     505#: wp-open-votomat.php:359
    475506msgid "Search Votings"
    476507msgstr "Wahlen suchen"
    477508
    478 #: wp-open-votomat.php:334
     509#: wp-open-votomat.php:360
    479510msgid "No Votings found"
    480511msgstr "Keine Wahlen gefunden"
    481512
    482 #: wp-open-votomat.php:335
     513#: wp-open-votomat.php:361
    483514msgid "No Votings found in Trash"
    484515msgstr "Keine Wahlen im Papierkorb gefunden"
    485516
    486 #: wp-open-votomat.php:381
     517#: wp-open-votomat.php:407
    487518msgid "WP Open Votomat Sidebar"
    488519msgstr "WP Open Votomat Seitenspalte"
    489520
    490 #: wp-open-votomat.php:429
     521#: wp-open-votomat.php:455
    491522#, php-format
    492523msgid "Class »%s« exists!"
     
    521552msgstr ""
    522553
     554#: wpov_template/twentynineteen/page.php:48
     555msgid "Voting is not published yet!"
     556msgstr "Wahl wurde bisher nicht veröffentlicht!"
     557
     558#~ msgid "Keep online"
     559#~ msgstr "Online halten"
     560
    523561#~ msgid "Shortcode"
    524562#~ msgstr "Shortcode"
  • wp-open-votomat/trunk/wp-open-votomat.php

    r2053290 r2058867  
    44 * Description: This plugin allows you to use your website as a voting advice application.
    55 * Author: Sebastian Tiede @ magma
    6  * Version: 0.0.3
     6 * Version: 0.0.4
    77 * Author URI: https://magmadesignstudio.de
    88 * Text Domain: wpov
     
    2828define( 'WPOV__PLUGIN_NAME_SLUG', 'wp-open-votomat' );
    2929
    30 define( 'WPOV_VERSION', '0.0.3' );
     30define( 'WPOV_VERSION', '0.0.4' );
    3131define( 'WPOV__MINIMUM_WP_VERSION', '4.0' );
    3232define( 'WPOV__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
     
    3737
    3838$wpov_settings = get_option('wpov-settings', array());
    39 $theme_dir = ((isset($wpov_settings['wpov_theme']) and ($theme_dir = $wpov_settings['wpov_theme'])) ? $theme_dir : 'twentyfourteen');
     39$theme_dir = ((isset($wpov_settings['wpov_theme']) and ($theme_dir = $wpov_settings['wpov_theme'])) ? $theme_dir : 'twentynineteen');
    4040
    4141define( 'WPOV__PLUGIN_THEME_DIR', WPOV__PLUGIN_THEMES_DIR . '/' . $theme_dir );
  • wp-open-votomat/trunk/wpov_template/twentyfourteen/twig/home.twig

    r2053270 r2058867  
    66        <div class="github-fork-ribbon-wrapper right">
    77            <div class="github-fork-ribbon">
    8                 <a href="https://github.com/Madways/KommunalomatBundle">Fork me on GitHub</a>
     8                <a href="https://github.com/magma-design-studio/wp-open-votomat">Fork me on GitHub</a>
    99            </div>
    1010        </div>
  • wp-open-votomat/trunk/wpov_template/twentynineteen/twig/home.twig

    r2053270 r2058867  
    1313
    1414{% block content %}
     15    {% if admin_settings.show_github %}
     16    <a href="https://github.com/magma-design-studio/wp-open-votomat" style="position: fixed; top: 0; right: 0;"><img width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_white_ffffff.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>   
     17    {% endif %}
     18
    1519    {% if admin_settings.text_intro %}
    1620    <div class="row mt-3">
     
    5761            <h4 class="w-100">{{ sponsor.seperator }}</h4>
    5862                {{ row_start }}
     63            {% elseif loop.first  %}
     64                {% if not loop.first %}{{ row_end }}{% endif %}
     65                {{ row_start }}
    5966            {% endif %}
    6067           
  • wp-open-votomat/trunk/wpov_template/twentynineteen/twig/page-voting-compare.twig

    r2053270 r2058867  
    55{% set questions = post_voting.questions() %}
    66
    7 <div class="card mb-3">
    8     <div class="card-body">
    9         <h3 class="cart-title">{{ __('In direct comparison', WPOV__PLUGIN_NAME_SLUG) }}</h3>
    10         <table class="table cart-text sortable">
    11             <thead>
    12                 <tr>
    13                     <th scope="col">#</th>
    14                     <th scope="col" data-defaultsort="disabled">{{ __('Question', WPOV__PLUGIN_NAME_SLUG) }}</th>
    15                     <th scope="col">{{ __('You', WPOV__PLUGIN_NAME_SLUG) }}</th>
    16                     {% for party in parties %}
    17                     <th scope="col">
    18                         {% set party_logo %}
    19                         <a href="{{ party.url() }}" target="_blank">
    20                             {{ party.title() }}
    21                         </a>
    22                         {% endset %}                     
     7    <div class="card mb-3">
     8        <div class="card-body">
     9            <h3 class="cart-title">{{ __('In direct comparison', WPOV__PLUGIN_NAME_SLUG) }}</h3>
     10        </div>
     11    </div>
     12</main>
     13<main class="d-flex mw-100 h-100 p-3 flex-column container">
     14    <div class="card mb-3">
     15        <div class="card-body table-responsive">
     16            <table class="table cart-text sortable">
     17                <thead>
     18                    <tr>
     19                        <th scope="col">#</th>
     20                        <th scope="col" data-defaultsort="disabled">{{ __('Question', WPOV__PLUGIN_NAME_SLUG) }}</th>
     21                        <th scope="col">{{ __('You', WPOV__PLUGIN_NAME_SLUG) }}</th>
     22                        {% for party in parties %}
     23                        <th scope="col">
     24                            {% set party_logo %}
     25                            <a href="{{ party.url() }}" target="_blank">
     26                                {{ party.title() }}
     27                            </a>
     28                            {% endset %}                     
    2329
    24                         {% if party.description() %}
    25                         <span data-toggle="tooltip" data-html="true" class="has-tip tip-bottom"
    26                             title="{{ fn('htmlentities2', party.description()) }}">
    27                             {{ party_logo }}
    28                         </span>
    29                         {% else %}
    30                             {{ party_logo }}
    31                         {% endif %}
    32                     </th>
     30                            {% if party.description() %}
     31                            <span data-toggle="tooltip" data-html="true" class="has-tip tip-bottom"
     32                                title="{{ fn('htmlentities2', party.description()) }}">
     33                                {{ party_logo }}
     34                            </span>
     35                            {% else %}
     36                                {{ party_logo }}
     37                            {% endif %}
     38                        </th>
     39                        {% endfor %}
     40                    </tr>
     41                </thead>
     42                <tbody>
     43                    {% for question in questions %}
     44                    <tr>
     45                        <th data-mainsort="1" data-firstsort="asc" scope="row">{{ question.question_index_readable() }}</th>
     46                        <td>{{ question.question() }}</td>
     47                        <td>
     48                            {% set current_user_vote = current_voter().get_vote(post_voting.get_id(), question.get_id()) %}
     49                            {% if current_user_vote.vote %}
     50                            <a href="{{ question.link() }}" class="btn {{ fn('wpov_get_vote_class', current_user_vote.vote ) }}" style="margin:0; padding: 0.5em 1em;">
     51                                {{ fn('wpov_get_vote_symbol', current_user_vote.vote ) }}
     52                            </a>
     53                            {% endif %}
     54                        </td>
     55                        {% for party in parties %}
     56                        {% set party_answer = party.voting_answer(post_voting.get_id(), question.get_id()) %}
     57                        {% set party_answer_explanation = party.voting_answer_explanation(post_voting.get_id(), question.get_id()) %}
     58
     59                        <td data-answer="{{party_answer.answer()}}">
     60                            <a
     61                               href="{{ question.link() }}"
     62                               class="btn {{ fn('wpov_get_vote_class', party_answer.answer() ) }}"
     63                               style="margin:0; padding: 0.5em 1em;"
     64                               {% if party_answer_explanation %}
     65                                    data-toggle="tooltip" data-html="true"
     66                                    title="{{ fn('htmlentities2', party_answer_explanation) }}"
     67                               {% endif %}
     68                               >
     69                                {{ fn('wpov_get_vote_symbol', party_answer.answer() ) }}
     70                            </a>
     71                        </td>
     72                        {% endfor %}
     73                    </tr>
    3374                    {% endfor %}
    34                 </tr>
    35             </thead>
    36             <tbody>
    37                 {% for question in questions %}
    38                 <tr>
    39                     <th data-mainsort="1" data-firstsort="asc" scope="row">{{ question.question_index_readable() }}</th>
    40                     <td>{{ question.question() }}</td>
    41                     <td>
    42                         {% set current_user_vote = current_voter().get_vote(post_voting.get_id(), question.get_id()) %}
    43                         {% if current_user_vote.vote %}
    44                         <a href="{{ question.link() }}" class="btn {{ fn('wpov_get_vote_class', current_user_vote.vote ) }}" style="margin:0; padding: 0.5em 1em;">
    45                             {{ fn('wpov_get_vote_symbol', current_user_vote.vote ) }}
    46                         </a>
    47                         {% endif %}
    48                     </td>
    49                     {% for party in parties %}
    50                     {% set party_answer = party.voting_answer(post_voting.get_id(), question.get_id()) %}
    51                     {% set party_answer_explanation = party.voting_answer_explanation(post_voting.get_id(), question.get_id()) %}
     75                </tbody>
     76            </table>
     77        </div>
     78    </div>
     79</main>
     80<main class="d-flex w-100 h-100 p-3 mx-auto flex-column container">
    5281
    53                     <td data-answer="{{party_answer.answer()}}">
    54                         <a
    55                            href="{{ question.link() }}"
    56                            class="btn {{ fn('wpov_get_vote_class', party_answer.answer() ) }}"
    57                            style="margin:0; padding: 0.5em 1em;"
    58                            {% if party_answer_explanation %}
    59                                 data-toggle="tooltip" data-html="true"
    60                                 title="{{ fn('htmlentities2', party_answer_explanation) }}"
    61                            {% endif %}
    62                            >
    63                             {{ fn('wpov_get_vote_symbol', party_answer.answer() ) }}
    64                         </a>
    65                     </td>
    66                     {% endfor %}
    67                 </tr>
    68                 {% endfor %}
    69             </tbody>
    70         </table>
    71     </div>
    72 
    73 </div>
    74 
    75 <a class="btn btn-primary btn-sm" href="{{ post_voting.result_link() }}">{{ __('Back to overview', WPOV__PLUGIN_NAME_SLUG) }}</a>
     82    <a class="btn btn-primary btn-sm" href="{{ post_voting.result_link() }}">{{ __('Back to overview', WPOV__PLUGIN_NAME_SLUG) }}</a>
    7683
    7784{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.