Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6ebf064c
authored
Sep 13, 2012
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added template property to LanEventPropertyKey
1 parent
d047d181
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LanEventPropertyKey.java
code/LanBortalWeb/src/fi/insomnia/bortal/handler/SessionHandler.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LanEventPropertyKey.java
View file @
6ebf064
...
...
@@ -7,7 +7,7 @@ public enum LanEventPropertyKey {
PORTAL_EMAIL_ADDRESS
(
Type
.
TEXT
,
"intra@streamparty.org"
),
PORTAL_EMAIL_NAME
(
Type
.
TEXT
,
"Streamparty intranet"
),
ADMIN_MAIL
(
Type
.
TEXT
,
"intra@streamparty.org"
),
EVENT_LAYOUT
(
Type
.
TEXT
,
"
layout
1"
),
;
EVENT_LAYOUT
(
Type
.
TEXT
,
"
template
1"
),
;
private
enum
Type
{
TEXT
,
DATE
,
DATA
};
...
...
code/LanBortalWeb/src/fi/insomnia/bortal/handler/SessionHandler.java
View file @
6ebf064
...
...
@@ -65,8 +65,7 @@ public class SessionHandler {
public
String
getLayout
()
{
// TODO: layout selection code missing!!
// return "stream1";
if
(
template
==
null
)
{
if
(
template
==
null
)
{
template
=
eventbean
.
getPropertyString
(
LanEventPropertyKey
.
EVENT_LAYOUT
);
}
if
(
template
==
null
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment