Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submenu icons display option was added. #185

Merged
merged 3 commits into from
Mar 14, 2017

Conversation

stasosovskyi
Copy link
Contributor

SUBMENU_ICONS_DISPLAY was introduced to enable submenu icons display.
If any submenu icon is not provided, items keep aligned by left edge of capital letter.
Example view is shown on screenshot.
screenshot from 2017-03-10 18-28-09

@coveralls
Copy link

coveralls commented Mar 13, 2017

Coverage Status

Coverage increased (+0.05%) to 79.134% when pulling 1c0edf7 on feature/178_submenu_items_icons into 493386c on develop.

@mmarcos
Copy link
Contributor

mmarcos commented Mar 13, 2017

I don't think SUBMENU_ICONS_DISPLAY is needed, if no icon is given, then none will be displayed, the icon class parameter is optional, both in menu as in the submenu:
http://django-arctic.readthedocs.io/en/latest/reference/#arctic_menu
Also the indentation on the submenu looks really big, the icons in the submenu should be under the text of the parent menu, so that it looks nice even without icons present:
smaller indentation on submenu

@mmarcos mmarcos self-requested a review March 13, 2017 09:20
Copy link
Contributor

@mmarcos mmarcos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check my comment

@coveralls
Copy link

coveralls commented Mar 13, 2017

Coverage Status

Coverage remained the same at 79.084% when pulling c926750 on feature/178_submenu_items_icons into 493386c on develop.

@stasosovskyi stasosovskyi added this to the 0.9.5 milestone Mar 13, 2017
@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage remained the same at 79.084% when pulling c4130c6 on feature/178_submenu_items_icons into 493386c on develop.

@mmarcos mmarcos merged commit 3dcb7a4 into develop Mar 14, 2017
mmarcos added a commit that referenced this pull request Mar 14, 2017
…login-next-check

* commit '71c17b24c351f7bab602e186b8e325f41fc16d83': (143 commits)
  Considerate improved performance; no query per has_permission call #182 (#183)
  Submenu icons display option was added. (#185)
  Upgraded jango-extra-views to version 0.9.0 (#181)
  forgot to remove one reference of django 1.9
  removed django 1.9 tests from tox to avoid http 429 ’too many requests’ errors from github dependencies
  added 10s sleep between tox profiles to avoid github timeouts of dependencies
  second attempt to fix tox/travis on django 1.10
  attempt to fix tox in travis with django 1.10
  fixed issue with using dependencies not yet available in PyPI, in this case a version of django-extra-views compatible with django 1.10
  flake8 fixes
  Fixed #164
  updated changelog, compiled the latest changes to the frontend tooling
  Updated changelog format to comply with keepachangelog.com
  Issue 167, added sub block
  changed reference from django-extra-views from github master to pypi, since the url schema was breaking tox
  downgraded django-filter version
  fixed jango-extra-views url bumped version number to 0.9.4
  bumped dependencies versions
  Build assets
  Updated bugs in jquery are you sure
  ...
mmarcos added a commit that referenced this pull request Mar 17, 2017
* master:
  bumped version number to 0.9.5
  Small bug fix
  Build assets
  Feature/login next check (#140)
  Removed css to fieldset tag, and added class to old fieldset tags
  Build assets
  Added fieldset to all forms to meke it easiear disabled them when needed
  Considerate improved performance; no query per has_permission call #182 (#183)
  Submenu icons display option was added. (#185)
  Changed labels for checkboxes in horizontal forms
  Devided big form field html in smaller chunks
  Build assets
  Added block ofr inline field forms
  Removed style horizontal from create update because horizontal is not the default (the style was being ignored before)
  removed empty lines
  Added option to change the size of the collums for horizontal forms (default is 2 for label and 10 for form field)
  second draft
  Added first draff of horiontal suport for the forms
  Added fieldset to forms

# Conflicts:
#	CHANGELOG.md
@mmarcos mmarcos deleted the feature/178_submenu_items_icons branch March 31, 2017 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants