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
(cherry picked from commit efc013340b)
mr9.5.4
Alexander Lutay 5 years ago
parent e85042c4df
commit 8186771328

@ -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