restorando / angular-pickadate

A simple and fluid inline datepicker for AngularJS with no extra dependencies.
MIT License
273 stars 91 forks source link

Create "previous year" and "next year" links, similar to the current month navigation #24

Closed renato closed 9 years ago

renato commented 10 years ago

I needed to create "previous year" and "next year" links, similar to the current month navigation, so the user can navigate more easily through years, if needed.

This is hidden by default (so it doesn't change current behavior) and may be changed using the "show-year-nav" property.

gschammah commented 10 years ago

Hi @renato. Thanks for your contribution.

I added some tests and travis-ci integration in master, could you please rebase your branch to origin/master?

Now that the lib is tested, I would love to have every new feature tested as well. Do you think you will have some time to add some tests?

Thanks again! Gabriel

gschammah commented 9 years ago

Hi @renato

I was trying to try this feature and rebase it with master, but currently the header does not look neat. This is how it looks:

image

I am closing this PR until we find a way to display this controls in a better way.

Thanks!

renato commented 9 years ago

This is not how it looked with the text labels when I first tried it, but to be honest I don't use it with labels anymore, I use it with icons. Like this: calendar

I agree that the way it is showing in your screenshot isn't acceptable, but I don't know how to make it better using only text labels.