Created
January 29, 2015 20:42
-
-
Save tstachl/c173bda506b618523cfc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- different web themes --> | |
| <div id="company-support-portal"> | |
| <div id="company-header"> | |
| <div class="wrapper"> | |
| {{ desk.page.theme.header_content }} | |
| <div id="customer-account"> | |
| {% if current_user and current_user.is_guest == false %} | |
| <span> | |
| {{system.snippets.welcome}} {{ current_user.customer.name }} | |
| </span> | |
| <a href="https://www.example.com/brand-a/logout">{{system.snippets.logout}}</a> | |
| {% else %} | |
| <span> | |
| {{system.snippets.welcome_guest}} | |
| </span> | |
| <a href="https://www.example.com/brand-a/login">{{system.snippets.login}}</a> | |
| {% endif %} | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- shared web themes --> | |
| <div id="company-support-portal"> | |
| <div id="company-header"> | |
| <div class="wrapper"> | |
| {{ desk.page.theme.header_content }} | |
| <div id="customer-account"> | |
| {% if current_user and current_user.is_guest == false %} | |
| <span> | |
| {{system.snippets.welcome}} {{ current_user.customer.name }} | |
| </span> | |
| <a href="{% if desk.current_brand.name == 'Brand A' %}https://www.example.com/brand-a/logout{% else %}https://www.example.com/brand-b/logout{% endif %}">{{system.snippets.logout}}</a> | |
| {% else %} | |
| <span> | |
| {{system.snippets.welcome_guest}} | |
| </span> | |
| <a href="{% if desk.current_brand.name == 'Brand A' %}https://www.example.com/brand-a/login{% else %}https://www.example.com/brand-b/login{% endif %}">{{system.snippets.login}}</a> | |
| {% endif %} | |
| </div> | |
| </div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment