Skip to content

Commit

Permalink
Availability text makes no sense without a target dropdown (see #132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Jul 1, 2015
1 parent dc2f4f5 commit 8685a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
8 changes: 1 addition & 7 deletions api/dox-gen/theme/templates/macros.mtt
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@
</macro>

<macro name="printPlatforms(platforms)">
<p class="availability">
Available on
::if platforms.length == api.config.platforms.length:: all platforms
::elseif platforms.length > 1:: ::platforms.join(", ")::
::else:: ::platforms.join("")::
::end::
</p>

</macro>

<macro name="printLinkedPath(path, params)">
Expand Down
10 changes: 1 addition & 9 deletions api/dox-gen/theme/templates/main.mtt
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,7 @@
<span class="add-on"><i class="icon-search"></i></span>
<input id="search" type="text" placeholder="Search" autocomplete="off"/>
</div>
</form>
<!--<div class="dropdown">
<select id="select-platform" class="selectpicker" title="Filter by platform" data-width="100%">
<option value="all" selected="true">All Platforms</option>
::foreach i api.config.platforms::
<option>::i::</option>
::end::
</select>
</div>-->
</form>
</div>
<div class="well sidebar-nav">
<div id="nav"></div>
Expand Down

0 comments on commit 8685a6f

Please sign in to comment.