TT#129176 Hide buttons 'upload/download CVS' for Emergency Mapping and Number Porting

Historically ngcp-panel hides both 'Upload CVS' and 'Download CVS' buttons for
pages call list suppression and phone book but hides no buttons at all for emergency mapping and lnp.

Let's synchronize the behaviour to prevent any kind of confusing.

Change-Id: I44efbb1606ee4db3be03e0edb2488ef27bf20485
mr10.0
Alexander Lutay 5 years ago
parent 829479e153
commit efc013340b

@ -6,8 +6,10 @@
<a class="btn btn-primary btn-large" href="[% c.uri_for('/back') %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
[% back_created = 1 -%]
[% END -%]
[% UNLESS c.user.read_only; -%]
<a class="btn btn-primary btn-large" href="[% c.uri_for('/emergencymapping/download') %]"><i class="icon-star"></i> [% c.loc('Download CSV') %]</a>
<a class="btn btn-primary btn-large" href="[% c.uri_for('/emergencymapping/upload') %]"><i class="icon-star"></i> [% c.loc('Upload CSV') %]</a>
[% END -%]
</span>
</div>

@ -6,8 +6,10 @@
<a class="btn btn-primary btn-large" href="[% c.uri_for('/back') %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
[% back_created = 1 -%]
[% END -%]
[% UNLESS c.user.read_only; -%]
<a class="btn btn-primary btn-large" href="[% c.uri_for('/lnp/download') %]"><i class="icon-star"></i> [% c.loc('Download CSV') %]</a>
<a class="btn btn-primary btn-large" href="[% c.uri_for('/lnp/upload') %]"><i class="icon-star"></i> [% c.loc('Upload CSV') %]</a>
[% END -%]
</span>
</div>

Loading…
Cancel
Save