Ticket #986: issue_986.patch

File issue_986.patch, 1.9 KB (added by Vijeth, 8 years ago)

Remove checkbox prompt in the dialogue while deleting

  • mediagoblin/templates/mediagoblin/user_pages/collection_confirm_delete.html

    From 735e98f327b5905cadcd283bb6c4d0af25a223bc Mon Sep 17 00:00:00 2001
    From: vijeth-aradhya <vijthaaa@gmail.com>
    Date: Fri, 20 Jan 2017 12:31:12 +0530
    Subject: [PATCH] user_pages: Remove checkbox prompt while deletion
    
    The usage of a checkbox prompt while deleting media
    or collection with the dialogue is not necessary.
    
    Fixes #986
    ---
     .../templates/mediagoblin/user_pages/collection_confirm_delete.html  | 5 -----
     .../templates/mediagoblin/user_pages/media_confirm_delete.html       | 5 -----
     2 files changed, 10 deletions(-)
    
    diff --git a/mediagoblin/templates/mediagoblin/user_pages/collection_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/collection_confirm_delete.html
    index 0827834..5ded731 100644
    a b  
    4242
    4343      <br />
    4444
    45       <p class="delete_checkbox_box">
    46         {{ form.confirm }}
    47         {{ wtforms_util.render_label(form.confirm) }}
    48       </p>
    49 
    5045      <div class="form_submit_buttons">
    5146        {# TODO: This isn't a button really... might do unexpected things :) #}
    5247        <a class="button_action" href="
  • mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html

    diff --git a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
    index 243edff..1361011 100644
    a b  
    3838
    3939      <br />
    4040
    41       <p class="delete_checkbox_box">
    42         {{ form.confirm }}
    43         {{ wtforms_util.render_label(form.confirm) }}
    44       </p>
    45 
    4641      <div class="form_submit_buttons">
    4742        {# TODO: This isn't a button really... might do unexpected things :) #}
    4843        <a class="button_action" href="{{ media.url_for_self(request.urlgen) }}">{% trans %}Cancel{% endtrans %}</a>