Commit Graph
24 Commits
Author SHA1 Message Date
kialam b344eb9af0 Fix failing test by only preserving credential_type
- Reset `defaults` object’s own `credential_type` value to that of
`queryset`’s.
2018-06-07 11:44:07 -04:00
kialam 99ea28c3fd Check defaults against query set to make sure credential_type does not get overwritten
- We want to preserve the existing `credential_type` param that already
exists in `queryset` and not have `defaults
` overwrite it. We first loop through the `defaults` object keys and
check it against the the keys of `queryset` and if the keys match, then
set the value to `queryset[key]`.
2018-06-07 11:44:07 -04:00
kialam cc1cd38ddd Merge pull request #2009 from kialam/fix/1063-multiple-creds-tags
View More Component with Credential Tags in Template List View
2018-06-06 16:06:13 -04:00
kialam d6ca943d23 Remove TagService 2018-06-06 11:17:09 -04:00
kialam b16854898b Refactor Toggle Tag Component
This refactor includes the following things:
- Offload credential tag formatting to the parent controller, e.g.
`TemplateListController`.
- Initialize the `Toggle Tag` component in the parent view instead of
the List Item component view.
- Rename some variables for better comprehension.
2018-06-06 11:17:09 -04:00
kialam 6ca4c7de9d Offload tag formatting logic to templateList controller 2018-06-06 11:17:09 -04:00
kialam b8404abb26 Rename credential tooltip component string
- For better legibility
2018-06-06 11:17:09 -04:00
kialam 2ee361db5d Rename toggle component to toggle-tag for better clarity. 2018-06-06 11:17:09 -04:00
kialam 22ddf7883a Adjust template to account for more than one tag type. 2018-06-06 11:17:09 -04:00
kialam cc91729f72 Account for default tags as well 2018-06-06 11:17:09 -04:00
kialam 8373d89c92 Duplicate ns.tooltips CREDENTIALS string to ComponentStrings to avoid using OutputStrings 2018-06-06 11:17:08 -04:00
kialam e66b00eb64 Translate VIEW MORE and VIEW LESS into component strings 2018-06-06 11:17:08 -04:00
kialam 265554accb Add link to credentials tag in template 2018-06-06 11:17:08 -04:00
kialam f49b61ecfa Create TagService
This new Service can be used anywhere that needs a credentials tag and
can be expanded upon to include other helpful tag methods as needed.
2018-06-06 11:17:08 -04:00
kialam 62f4beddb2 Reduce height of tags in job list page 2018-06-06 11:17:08 -04:00
kialam 63f3a38ceb Add more functionality to Toggle Tag Component
- Remove existing `switch` logic in favor of Toggle Tag Component, now
with comments!

- Slight adjustment to icons to center vertically; account for
non-standard credential `kind` attributes so icons display as they
should.

- Style the `View More/Less` button accordingly

- Update Toggle Tag directive template to include icons
2018-06-06 11:17:08 -04:00
kialam de6167a52c Create basic toggle tag component 2018-06-06 11:17:08 -04:00
kialam 8acb57f43a Merge pull request #1954 from kialam/fix/1880-tag-component
Create Tag Component for Job Search
2018-05-25 13:45:09 -04:00
kialam 376a763cc0 vertically center CLEAR ALL "button" using newly created mixin and resolve merge conflict 2018-05-25 13:32:43 -04:00
kialam a9bdac0d53 use newer variables 2018-05-25 12:26:44 -04:00
kialam d8dcac9158 small cleanup 2018-05-25 12:26:44 -04:00
kialam edada76050 Pixel pushing 2018-05-25 12:26:44 -04:00
kialam d83fa5a031 change 5px down to 3px per design feedback. 2018-05-25 12:26:44 -04:00
kialam 7292e00158 create componentized tags 2018-05-25 12:26:44 -04:00