From 08fccb180b4efa5191c05046775afe4dfd66e77b Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Thu, 17 Sep 2020 11:28:37 +0200 Subject: [PATCH] rollback changes on branches overview --- scm-ui/ui-webapp/public/locales/de/repos.json | 4 +--- scm-ui/ui-webapp/public/locales/en/repos.json | 4 +--- .../java/sonia/scm/api/v2/resources/BranchRootResource.java | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/scm-ui/ui-webapp/public/locales/de/repos.json b/scm-ui/ui-webapp/public/locales/de/repos.json index 3467e61a7e..5df248f961 100644 --- a/scm-ui/ui-webapp/public/locales/de/repos.json +++ b/scm-ui/ui-webapp/public/locales/de/repos.json @@ -52,9 +52,7 @@ "overview": { "title": "Übersicht aller verfügbaren Branches", "noBranches": "Keine Branches gefunden.", - "createButton": "Branch erstellen", - "lastModifier": "von", - "lastModified": "Aktualisiert" + "createButton": "Branch erstellen" }, "table": { "branches": "Branches" diff --git a/scm-ui/ui-webapp/public/locales/en/repos.json b/scm-ui/ui-webapp/public/locales/en/repos.json index 34b161bc6e..e8a47399b9 100644 --- a/scm-ui/ui-webapp/public/locales/en/repos.json +++ b/scm-ui/ui-webapp/public/locales/en/repos.json @@ -52,9 +52,7 @@ "overview": { "title": "Overview of all branches", "noBranches": "No branches found.", - "createButton": "Create Branch", - "lastModifier": "by", - "lastModified": "Updated" + "createButton": "Create Branch" }, "table": { "branches": "Branches" diff --git a/scm-webapp/src/main/java/sonia/scm/api/v2/resources/BranchRootResource.java b/scm-webapp/src/main/java/sonia/scm/api/v2/resources/BranchRootResource.java index f3f9385624..58261b4d15 100644 --- a/scm-webapp/src/main/java/sonia/scm/api/v2/resources/BranchRootResource.java +++ b/scm-webapp/src/main/java/sonia/scm/api/v2/resources/BranchRootResource.java @@ -123,8 +123,7 @@ public class BranchRootResource { public Response get( @PathParam("namespace") String namespace, @PathParam("name") String name, - @PathParam("branch") String branchName, - @QueryParam("fullInformation") @DefaultValue("false") boolean fullInformation + @PathParam("branch") String branchName ) throws IOException { NamespaceAndName namespaceAndName = new NamespaceAndName(namespace, name); try (RepositoryService repositoryService = serviceFactory.create(namespaceAndName)) {