Skip to content
Snippets Groups Projects

Privat varsel

Merged Tor-Einar Skog requested to merge privat_varsel into develop
1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
@@ -69,6 +69,7 @@
@@ -69,6 +69,7 @@
</div>
</div>
</div>
</div>
<button type="button" class="btn btn-default" onclick="window.location.href='/forecastConfiguration?action=viewForecastConfiguration&forecastConfigurationId=-1&multipleNew=true'">${i18nBundle.addMultipleNew}</button>
<button type="button" class="btn btn-default" onclick="window.location.href='/forecastConfiguration?action=viewForecastConfiguration&forecastConfigurationId=-1&multipleNew=true'">${i18nBundle.addMultipleNew}</button>
 
</#if>
<h2>${i18nBundle.privateForecasts}</h2>
<h2>${i18nBundle.privateForecasts}</h2>
<div class="table-responsive">
<div class="table-responsive">
<table class="table table-striped">
<table class="table table-striped">
@@ -98,6 +99,7 @@
@@ -98,6 +99,7 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
 
<#if user.isSuperUser() || user.isOrganizationAdmin()>
<h2>${i18nBundle.publicForecasts}</h2>
<h2>${i18nBundle.publicForecasts}</h2>
<div class="table-responsive">
<div class="table-responsive">
<table class="table table-striped">
<table class="table table-striped">
@@ -127,7 +129,7 @@
@@ -127,7 +129,7 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</#if>
</#if>
<#if user.isSuperUser() >
<#if user.isSuperUser() >
<h2>${i18nBundle.privateForecastsForOtherUser}</h2>
<h2>${i18nBundle.privateForecastsForOtherUser}</h2>
@@ -155,7 +157,7 @@
@@ -155,7 +157,7 @@
<th>${i18nBundle.dateEnd}</th>
<th>${i18nBundle.dateEnd}</th>
</thead>
</thead>
<tbody>
<tbody>
<#list privateForecastConfigurations as forecastConfiguration>
<#list privateForecastConfigurationsForOtherUser as forecastConfiguration>
<tr style="cursor: pointer;" onclick="window.location.href='/forecastConfiguration?action=viewForecastConfiguration&forecastConfigurationId=${forecastConfiguration.forecastConfigurationId}';">
<tr style="cursor: pointer;" onclick="window.location.href='/forecastConfiguration?action=viewForecastConfiguration&forecastConfigurationId=${forecastConfiguration.forecastConfigurationId}';">
<td>
<td>
<#if i18nBundle.containsKey(forecastConfiguration.modelId)>
<#if i18nBundle.containsKey(forecastConfiguration.modelId)>
Loading