* update template file ext name
This commit is contained in:
parent
6438a8511d
commit
dbee0f61e7
|
@ -6,44 +6,7 @@
|
|||
</div>
|
||||
<div class="col-md-9 col-xs-12">
|
||||
<% if (page_cont == 'inc') { %>
|
||||
<% if (inc_tag == 'land_use') { %>
|
||||
<%- include('inc/land_use.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'meteorological') { %>
|
||||
<%- include('inc/meteorological.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'soil_and_water_conservation') { %>
|
||||
<%- include('inc/soil_and_water_conservation.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'grass') { %>
|
||||
<%- include('inc/grass.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'soil_erosion') { %>
|
||||
<%- include('inc/soil_erosion.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'forest') { %>
|
||||
<%- include('inc/forest.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'water') { %>
|
||||
<%- include('inc/water.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'desertification') { %>
|
||||
<%- include('inc/desertification.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'wetland') { %>
|
||||
<%- include('inc/wetland.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'forage_yield') { %>
|
||||
<%- include('inc/forage_yield.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'env_quality_monitoring') { %>
|
||||
<%- include('inc/env_quality_monitoring.html') %>
|
||||
<% } %>
|
||||
<% if (inc_tag == 'ecology') { %>
|
||||
<%- include('inc/ecology.html') %>
|
||||
<% } %>
|
||||
<% } else { %>
|
||||
<%- page_cont ? page_cont : '' %>
|
||||
<%- include('inc/' + inc_tag) %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue