Skip to content

Commit

Permalink
[FEATURE] improve bigIconTextButton/iconTextButton/imageTextLink elm-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed May 17, 2016
1 parent 31f1652 commit 5965679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<p class="big-icon-text-btn__p">{{text}}</p>
{{/if}}
{{#if this.buttonName}}
<a class="big-icon-text-btn__link {{#if this.btn}}btn btn-default {{/if}}" title="{{buttonName}}" href="{{#if this.buttonLink}}{{buttonLink}}{{else}}#{{/if}}">{{buttonName}}</a>
<a class="big-icon-text-btn__link {{#if this.btnAsLink}}{{else}}btn btn-default {{/if}}" title="{{buttonName}}" href="{{#if this.buttonLink}}{{buttonLink}}{{else}}#{{/if}}">{{buttonName}}</a>
{{/if}}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<p class="icon-text-btn__p">{{text}}</p>
{{/if}}
{{#if this.buttonName}}
<a class="icon-text-btn__link {{#if this.btn}}btn btn-default {{/if}}" title="{{buttonName}}" href="{{#if this.buttonLink}}{{buttonLink}}{{else}}#{{/if}}">{{buttonName}}</a>
<a class="icon-text-btn__link {{#if this.btnAsLink}}{{else}}btn btn-default {{/if}}" title="{{buttonName}}" href="{{#if this.buttonLink}}{{buttonLink}}{{else}}#{{/if}}">{{buttonName}}</a>
{{/if}}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<p class="img-text-link__p">{{text}}</p>
{{/if}}
{{#if this.linkName}}
<a class="img-text-link__link {{#if this.btn}}btn btn-default {{/if}}" title="{{linkName}}" href="{{#if this.link}}{{link}}{{else}}#{{/if}}">{{linkName}}</a>
<a class="img-text-link__link {{#if this.linkAsBtn}}btn btn-default {{/if}}" title="{{linkName}}" href="{{#if this.link}}{{link}}{{else}}#{{/if}}">{{linkName}}</a>
{{/if}}
</div>

0 comments on commit 5965679

Please sign in to comment.