Skip to content

Commit

Permalink
Fix button to actually download the dart editor
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-singer committed Nov 6, 2013
1 parent 4174576 commit c757f53
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/site/_includes/downloads/_dart-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

<div class="{{ editor.os }} downloads">
{% if editor.os == 'macos' %}
<button type="button" class="btn btn-primary btn-lg" data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-64.{{ editor.editor-ext }}">
<i class="icon-download-alt"> </i>
Download Dart ({{ editor.name }})
</button>
<a data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-64.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg" ><i class="icon-download-alt"> </i>
Download Dart ({{ editor.name }})</button>
</a>
{% else %}
<button type="button" class="btn btn-primary btn-lg" data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-64.{{ editor.editor-ext }}">
<i class="icon-download-alt"> </i>
Download Dart (64-bit {{ editor.name }})
<a data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-64.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg" ><i class="icon-download-alt"> </i>
Download Dart (64-bit {{ editor.name }})</button>
</button>

<button type="button" class="btn btn-primary btn-lg" data-bits="32" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-32.{{ editor.editor-ext }}">
<i class="icon-download-alt"> </i>
Download Dart (32-bit {{ editor.name }})
</button>
<a data-bits="32" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.editor-url-prefix }}-integration/latest/darteditor-{{ editor.os }}-32.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg" ><i class="icon-download-alt"> </i>
Download Dart (32-bit {{ editor.name }})</button>
</a>
{% endif %}
</div>

Expand Down

0 comments on commit c757f53

Please sign in to comment.