changeset 6699:428c1193ee40

templates: fix btn markup
author domruf <dominikruf@gmail.com>
date Thu, 18 May 2017 21:09:15 +0200
parents d2053b8ab873
children c08d8395d565
files kallithea/templates/admin/notifications/show_notification.html kallithea/templates/pullrequests/pullrequest_data.html
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/notifications/show_notification.html	Mon Jun 19 00:53:47 2017 +0200
+++ b/kallithea/templates/admin/notifications/show_notification.html	Thu May 18 21:09:15 2017 +0200
@@ -28,7 +28,7 @@
               ${c.notification.description}
           </span>
           <span class="delete-notifications">
-            <span id="${c.notification.notification_id}" class="delete-notification action"><i class="icon-minus-circled"></i></span>
+            <span id="${c.notification.notification_id}" class="delete-notification action"><i class="btn icon-minus-circled"></i></span>
           </span>
         </div>
         <div class="notification-body">
--- a/kallithea/templates/pullrequests/pullrequest_data.html	Mon Jun 19 00:53:47 2017 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Thu May 18 21:09:15 2017 +0200
@@ -61,7 +61,7 @@
       <td>
         %if pr.owner_id == request.authuser.user_id:
           ${h.form(url('pullrequest_delete', repo_name=pr.other_repo.repo_name, pull_request_id=pr.pull_request_id))}
-          <button class="btn btn-default btn-xs"
+          <div class="btn btn-default btn-xs"
                   id="remove_${pr.pull_request_id}"
                   name="remove_${pr.pull_request_id}"
                   title="${_('Delete Pull Request')}"
@@ -70,7 +70,7 @@
                           confirm('${_('Confirm again to delete this pull request with %s comments') % len(pr.comments)}'))
                       ">
             <i class="icon-minus-circled"></i>
-          </button>
+          </div>
           ${h.end_form()}
         %endif
       </td>