Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
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 0effe25b
authored
May 09, 2013
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moar template tabfix
1 parent
9097846f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
code/MoyaWeb/WebContent/resources/cditools/user/usertabs.xhtml
code/MoyaWeb/src/fi/codecrew/moya/handler/SessionHandler.java
code/MoyaWeb/WebContent/resources/cditools/user/usertabs.xhtml
View file @
0effe25
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</composite:interface>
</composite:interface>
<composite:implementation>
<composite:implementation>
<h:outputStylesheet
library=
"templates/
insomnia2/css/
"
name=
"tabnav.css"
/>
<h:outputStylesheet
library=
"templates/
#{sessionHandler.templateName}/css
"
name=
"tabnav.css"
/>
<div
class=
"userstatus"
style=
"float: right; margin-right: 10px; color: #7DAC0C; font-size: 16px;"
>
<div
class=
"userstatus"
style=
"float: right; margin-right: 10px; color: #7DAC0C; font-size: 16px;"
>
<h:outputText
value=
"#{i18n['user.cardPower']}: #{userView.usersCardtemplate.name}"
/>
<h:outputText
value=
"#{i18n['user.cardPower']}: #{userView.usersCardtemplate.name}"
/>
</div>
</div>
...
...
code/MoyaWeb/src/fi/codecrew/moya/handler/SessionHandler.java
View file @
0effe25
...
@@ -71,7 +71,7 @@ public class SessionHandler {
...
@@ -71,7 +71,7 @@ public class SessionHandler {
return
template
;
return
template
;
}
}
public
String
getTemplate
Path
()
public
String
getTemplate
Name
()
{
{
if
(
template
==
null
)
{
if
(
template
==
null
)
{
template
=
eventbean
.
getPropertyString
(
LanEventPropertyKey
.
EVENT_LAYOUT
);
template
=
eventbean
.
getPropertyString
(
LanEventPropertyKey
.
EVENT_LAYOUT
);
...
@@ -80,7 +80,13 @@ public class SessionHandler {
...
@@ -80,7 +80,13 @@ public class SessionHandler {
template
=
"insomnia2"
;
template
=
"insomnia2"
;
}
}
return
"/resources/templates/"
+
template
;
return
template
;
}
public
String
getTemplatePath
()
{
return
"/resources/templates/"
+
getTemplateName
();
}
}
...
...
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