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

Add support for tags: if_blank and if_not_blank #92

Open
adamjohnson opened this issue Sep 24, 2020 · 0 comments
Open

Add support for tags: if_blank and if_not_blank #92

adamjohnson opened this issue Sep 24, 2020 · 0 comments
Assignees

Comments

@adamjohnson
Copy link
Contributor

If you open the backpage of the Design System in hammer right now, it looks like this:

New Tag Warnings Abound!

How to reproduce

  1. Start hammer: hammer-start
  2. Navigate to the backpage template in the design system: http://localhost:2000/wvu-design-system/views/backpage.html

Tags to add support for

if_blank:

<r:if_blank value="{$variableDoesNotExist}">
  <h2><code>if_blank</code> works!</h2>
</r:if_blank>

if_not_blank:

<r:if_not_blank value="{$nav_dropdowns}">
  <h2><code>if_not_blank</code> works!</h2>  
</r:if_not_blank>

Link to tags in CleanSlate repo

cleanslate/app/lib/slate/radius/tags/basic.rb (Github)

These tags are one of three sets of tags heavily used in Design System components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants