Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 24c4582b
authored
May 12, 2013
by
Liv Haapala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes made to map viewer.
1 parent
516a3c5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
6 deletions
code/MoyaWeb/WebContent/resources/cditools/map/placeSelect.xhtml
code/MoyaWeb/WebContent/resources/cditools/map/placeSelect.xhtml
View file @
24c4582
...
...
@@ -24,8 +24,8 @@
</h:commandButton>
</div>
<h:panelGrid
columns=
"3"
cellpadding=
"10"
>
<h:panelGrid
styleClass=
"placeSelectInfotable"
columns=
"3"
>
<h:panelGrid
columns=
"2"
>
<div
style=
"border-color: black; border-style: solid; border-width: 1px; background-color: grey; width: 10px; height: 10px;"
>
</div>
<h:outputText
value=
"#{i18n['placeSelect.legend.grey']}"
/>
...
...
@@ -39,7 +39,6 @@
<h:outputText
value=
"#{i18n['placeSelect.legend.blue']}"
/>
</h:panelGrid>
<h:panelGroup>
<h:panelGrid
columnClasses=
",rightalign"
columns=
"2"
>
<h:outputLabel
value=
"#{i18n['placeSelect.totalPlaces']}:"
/>
<h:outputText
value=
"#{mapView.availablePlaces}"
/>
...
...
@@ -58,10 +57,14 @@
</h:outputText>
</h:panelGrid>
</h:panelGroup>
<h:panelGrid
columnClasses=
",rightalign"
columns=
"2"
rendered=
"#{not empty placeView.place }"
>
<h:panelGrid
columnClasses=
",rightalign"
columns=
"2"
rendered=
"#{not empty placeView.place}"
>
<h:commandButton
rendered=
"#{placeView.canEdit()}"
value=
"#{i18n['place.edit']}"
action=
"/place/edit"
/>
<h:outputText
rendered=
"#{placeView.canEdit()}"
value=
""
/>
<h:outputLabel
value=
"#{i18n['placeSelect.placeName']}:"
/>
<h:outputText
value=
"#{placeView.place.name}"
/>
...
...
@@ -74,13 +77,41 @@
<f:convertNumber
maxFractionDigits=
"2"
minFractionDigits=
"2"
/>
</h:outputText>
<h:commandButton
rendered=
"#{placeView.canEdit()}"
value=
"#{i18n['place.edit']}"
action=
"/place/edit"
/>
<h:outputLabel
rendered=
"#{placeView.canEdit()}"
value=
"#{i18n['placegroup.creator']}"
/>
<h:outputText
rendered=
"#{placeView.canEdit()}"
value=
"#{placeView.place.group.creator.wholeName}"
/>
</h:panelGrid>
</h:panelGrid>
<h:outputText
rendered=
"#{placeView.canEdit() and not empty placeView.place}"
value=
""
/>
<h:outputText
rendered=
"#{placeView.canEdit() and not empty placeView.place}"
value=
""
/>
<h:dataTable
rendered=
"#{placeView.canEdit() and not empty placeView.place}"
border=
"1"
id=
"placelist"
value=
"#{placeView.place.group.places}"
var=
"place"
>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['placegroup.placename']}"
/>
</f:facet>
<h:link
outcome=
"/place/edit"
value=
"#{place.name}"
>
<f:param
name=
"placeid"
value=
"#{place.id}"
/>
</h:link>
</h:column>
<h:column>
<h:outputText
rendered=
"#{empty place.placeReserver.user}"
value=
"#{i18n['place.noReserver']}"
/>
<h:link
rendered=
"#{!empty place.placeReserver.user}"
outcome=
"/useradmin/edit"
>
<h:outputText
value=
"#{place.placeReserver.user.wholeName}"
/>
(
<h:outputText
value=
"#{place.placeReserver.user.nick}"
/>
)
<f:param
name=
"userid"
value=
"#{place.placeReserver.user.user.id}"
/>
</h:link>
</h:column>
<h:column>
</h:column>
</h:dataTable>
</h:panelGrid>
</h:form>
<div>
...
...
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