diff options
Diffstat (limited to 'src/main/java/com/gitblit')
-rw-r--r-- | src/main/java/com/gitblit/wicket/GitBlitWebApp.properties | 4 | ||||
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html | 13 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/wicket/GitBlitWebApp.properties b/src/main/java/com/gitblit/wicket/GitBlitWebApp.properties index 648ac2a5..10b318dc 100644 --- a/src/main/java/com/gitblit/wicket/GitBlitWebApp.properties +++ b/src/main/java/com/gitblit/wicket/GitBlitWebApp.properties @@ -759,4 +759,6 @@ gb.diffCopiedFile = File was copied from {0} gb.diffTruncated = Diff truncated after the above file gb.opacityAdjust = Adjust opacity gb.blinkComparator = Blink comparator -gb.imgdiffSubtract = Subtract (black = identical)
\ No newline at end of file +gb.imgdiffSubtract = Subtract (black = identical) +gb.deleteRepositoryHeader = Delete Repository +gb.deleteRepositoryDescription = Deleted repositories will be unrecoverable.
\ No newline at end of file diff --git a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html index 1e683b4f..7a55b9f5 100644 --- a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html +++ b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html @@ -20,6 +20,7 @@ <li><a href="#search" data-toggle="tab"><wicket:message key="gb.search"></wicket:message></a></li>
<li><a href="#gc" data-toggle="tab"><wicket:message key="gb.gc"></wicket:message></a></li>
<li><a href="#misc" data-toggle="tab"><wicket:message key="gb.miscellaneous"></wicket:message></a></li>
+ <li><a href="#admin" data-toggle="tab"><wicket:message key="gb.administration"></wicket:message></a></li>
</ul>
<!-- tab content -->
@@ -178,8 +179,16 @@ <div wicket:id="mailingLists"></div>
</div>
-
- <div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /> <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" /> <input class="btn btn-danger" type="submit" value="Delete" wicket:message="value:gb.delete" wicket:id="delete" /></div>
+
+ <!-- administration -->
+ <div class="tab-pane" id="admin">
+
+ <h4><wicket:message key="gb.deleteRepositoryHeader"></wicket:message></h4>
+ <p><wicket:message key="gb.deleteRepositoryDescription"></wicket:message></p>
+ <input class="btn btn-danger" type="submit" value="Delete" wicket:message="value:gb.delete" wicket:id="delete" />
+ </div>
+
+ <div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /> <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" /></div>
</div>
</div>
|