Browse Source

Fix error on generating activity page when there is no activity

tags/v1.4.0
James Moger 10 years ago
parent
commit
e1908933fa
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      releases.moxie
  2. 1
    0
      src/main/java/com/gitblit/wicket/pages/ActivityPage.java

+ 1
- 0
releases.moxie View File

@@ -13,6 +13,7 @@ r20: {
- Fixed support for implied SSH urls in web.otherUrls (issue-311)
- Fix potential NPE on removing uncached repository from cache
- Ignore the default contents of .git/description file
- Fix error on generating activity page when there is no activity
changes:
- Personal repository prefix (~) is now configurable (issue-265)
- Reversed line links in blob view (issue-309)

+ 1
- 0
src/main/java/com/gitblit/wicket/pages/ActivityPage.java View File

@@ -96,6 +96,7 @@ public class ActivityPage extends RootPage {
// no activity, skip graphs and activity panel
add(new Label("subheader", MessageFormat.format(headerPattern,
daysBack)));
add(new Label("chartsPanel").setVisible(false));
add(new Label("activityPanel"));
} else {
// calculate total commits and total authors

Loading…
Cancel
Save