lemval
2012-01-31 1c30dad2115fc513791d8a5b292ad0f7d7b85749
commit | author | age
f13c4c 1 /*
JM 2  * Copyright 2011 gitblit.com.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
232890 16 package com.gitblit.wicket.pages;
JM 17
18 import org.apache.wicket.PageParameters;
19
698678 20 import com.gitblit.wicket.panels.BranchesPanel;
232890 21
JM 22 public class BranchesPage extends RepositoryPage {
23
24     public BranchesPage(PageParameters params) {
cebf45 25         super(params);
232890 26
cf9550 27         add(new BranchesPanel("branchesPanel", getRepositoryModel(), getRepository(), -1));
232890 28     }
155bf7 29
cebf45 30     @Override
JM 31     protected String getPageName() {
1e47ab 32         return getString("gb.branches");
cebf45 33     }
232890 34 }