git://wamblee.org
/
photos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Full navigation is working including viewing individual photos.
[photos]
/
src
/
main
/
java
/
org
/
wamblee
/
photos
/
wicket
/
HomePage.java
diff --git
a/src/main/java/org/wamblee/photos/wicket/HomePage.java
b/src/main/java/org/wamblee/photos/wicket/HomePage.java
index a5d42faaa194aa655e12545e9a85f121a353c474..95290d34dd93dd021180864ef7afd2e70d95ebc0 100644
(file)
--- a/
src/main/java/org/wamblee/photos/wicket/HomePage.java
+++ b/
src/main/java/org/wamblee/photos/wicket/HomePage.java
@@
-111,11
+111,9
@@
public class HomePage extends BasePage {
PhotoEntry current = authorized.getEntry(path);
if (current instanceof Photo) {
PhotoEntry current = authorized.getEntry(path);
if (current instanceof Photo) {
- throw new RuntimeException("Photo entry viewing not yet implemented");
+ add(new PhotoPanel("content", parameters));
+ } else {
+ add(new AlbumPanel("content", parameters));
}
}
-
- Album album = (Album) current;
-
- add(new AlbumPanel("content", parameters));
}
}
\ No newline at end of file
}
}
\ No newline at end of file