GitHub user AhyoungRyu opened a pull request:
https://github.com/apache/zeppelin/pull/2345
[MINOR] Hide pagination button if there is only 1 page in Helium menu
### What is this PR for?
It'll be better to hide the pagination button if there is only one page.
([`only-of-type` CSS type
selector](https://www.w3schools.com/cssref/sel_only-of-type.asp) can be used
for this.)
Please see the attached screenshot img.
### What type of PR is it?
Improvement
### What is the Jira issue?
N/A
### How should this be tested?
### Screenshots (if appropriate)
- Before

- After
<img width="1372" alt="screen shot 2017-05-15 at 4 34 09 pm"
src="https://cloud.githubusercontent.com/assets/10060731/26078167/a28f36fc-398c-11e7-8151-46ca79161010.png">
### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AhyoungRyu/zeppelin
hide/only-one-pagination-btn
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2345.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2345
----
commit 452f01dad0c3c316e558b8dafd7325eb0a322cc1
Author: AhyoungRyu <[email protected]>
Date: 2017-05-15T20:35:05Z
Hide pagination btn if there is only 1 page
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---