Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
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 dbf39565
authored
Oct 27, 2012
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reservedcount and sorting
1 parent
354bd2f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
code/LanBortalWeb/WebContent/resources/cditools/foodwave/list.xhtml
code/LanBortalWeb/WebContent/resources/cditools/foodwave/list.xhtml
View file @
dbf3956
...
...
@@ -15,10 +15,10 @@
<!-- <h:outputScript target="head" library="script" name="shopscript.js" /> -->
<h:outputScript
library=
"primefaces"
name=
"jquery/jquery.js"
/>
<p:dataTable
columnClasses=
"nowrap,numalign,numalign,nowrap,numalign"
styleClass=
"bordertable"
value=
"#{foodWaveView.foodWaves}"
var=
"foodwave"
>
<p:column>
<p:dataTable
columnClasses=
"nowrap,numalign,numalign,nowrap,numalign"
styleClass=
"bordertable"
value=
"#{foodWaveView.foodWaves}"
var=
"foodwave"
sortBy=
"#{foodwave.time.time}"
>
<p:column
sortBy=
"#{i18n['foodWave.name']}"
>
<f:facet
name=
"header"
>
<h:outputLabel
id=
"name"
value=
"
$
{i18n['foodWave.name']}"
/>
<h:outputLabel
id=
"name"
value=
"
#
{i18n['foodWave.name']}"
/>
</f:facet>
<h:link
outcome=
"#{cc.attrs.outcome}"
value=
"#{foodwave.name}"
>
...
...
@@ -26,7 +26,7 @@
<f:param
name=
"userid"
value=
"#{userView.user.user.id}"
/>
</h:link>
</p:column>
<p:column>
<p:column
sortBy=
"#{foodwave.template.name}"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"Menu"
/>
</f:facet>
...
...
@@ -34,13 +34,22 @@
<f:param
name=
"foodwaveid"
value=
"#{foodwave.id}"
/>
</h:outputText>
</p:column>
<p:column>
<p:column
sortBy=
"#{foodwave.template.description}"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['foodWave.description']}"
/>
</f:facet>
<h:outputText
id=
"description"
value=
"#{foodwave.template.description}"
/>
</p:column>
<p:column>
<p:column
sortBy=
"#{foodwave.reservedCount}"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['foodWave.totalReserved']}"
/>
</f:facet>
<h:outputText
value=
"#{foodwave.reservedCount}"
/>
/
<h:outputText
value=
"#{foodwave.maximumFoods}"
/>
</p:column>
<p:column
sortBy=
"#{foodwave.time.time}"
>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['foodWave.time']}"
/>
</f:facet>
...
...
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