show remote fork button only if user cannot write
[phorkie.git] / data / templates / delete.htm
index ff27220dea654e36d0c2642d951fa38b81846186..4a935498d4f535e07ab1e8283ea72b9fdc47e250 100644 (file)
@@ -3,23 +3,27 @@
 Confirm deletion of repository #{{repo.id}}
 {% endblock %}
 
+{% block meta %}
+<meta name="robots" content="noindex"/>
+{% endblock %}
+
 {% block content %}
 <h1>Delete paste #{{repo.id}}?</h1>
 <div class="well" style="margin-top: 5ex;">
  <p>
-  Do you really want to delete the folloing paste #{{repo.id}}?
+  Do you really want to delete the following paste?
  </p>
  <p>
-  <strong>{{repo.getDescription}}</strong>
+  <strong>{{repo.getTitle}}</strong>
  </p>
 
  <div class="row-fluid" style="margin-top: 5ex;">
   <div class="span6">
    <a class="btn" href="{{repo.getLink('display')}}">Cancel</a>
   </div>
-  <div class="span6" style="text-align: right">
+  <div class="span6">
    <form method="post" action="{{repo.getLink('delete-confirm')}}" style="margin: 0px">
-    <button class="btn btn-danger" type="submit">
+    <button class="btn btn-danger pull-right" type="submit">
      <i class="icon-trash icon-white"></i>
      Permanently delete
     </button>