Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
contacts-v2: use tokenList filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 30, 2013
1 parent 1401e28 commit a3fc3e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shiny/Contacts-v2/components/contacts-create-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
}
</style>
<polymer-flex-layout align="center"></polymer-flex-layout>
<polymer-ui-icon-button icon="{{icon}}" class="{{hidden: active || overlayActive || value || selectedType !== -1}}"></polymer-ui-icon-button>
<polymer-ui-icon-button id="activeIcon" icon="{{activeIcon}}" class="{{hidden: !value && selectedType === -1 && !active && !overlayActive}}" on-tap="{{overlayAction}}"></polymer-ui-icon-button>
<polymer-ui-icon-button icon="{{icon}}" class="{{ {hidden: active || overlayActive || value || selectedType !== -1} | tokenList}}"></polymer-ui-icon-button>
<polymer-ui-icon-button id="activeIcon" icon="{{activeIcon}}" class="{{ {hidden: !value && selectedType === -1 && !active && !overlayActive} | tokenList}}" on-tap="{{overlayAction}}"></polymer-ui-icon-button>
<div flex>
<input id="input" value="{{value}}" placeholder="{{label}}">
</div>
<polymer-ui-icon-button icon="close" class="{{hidden: !active && !overlayActive}}" on-tap="{{cancelAction}}"></polymer-ui-icon-button>
<polymer-ui-icon-button src="error.png" class="{{hidden: !error || active}}" on-tap="{{errorAction}}"></polymer-ui-icon-button>
<polymer-ui-icon-button icon="close" class="{{ {hidden: !active && !overlayActive} | tokenList}}" on-tap="{{cancelAction}}"></polymer-ui-icon-button>
<polymer-ui-icon-button src="error.png" class="{{ {hidden: !error || active} | tokenList}}" on-tap="{{errorAction}}"></polymer-ui-icon-button>
<polymer-ui-overlay id="typeOverlay" active="{{overlayActive}}" modal backdrop on-polymer-overlay-open="{{overlayOpenAction}}">
<polymer-selector selected="{{selectedType}}" on-polymer-activate="{{overlaySelectAction}}">
<content></content>
Expand Down

0 comments on commit a3fc3e0

Please sign in to comment.