Skip to content

Commit

Permalink
Merge branch 'iGenius-Srl-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Jan 13, 2017
2 parents 4dc65d8 + 532dd93 commit 08eaf40
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,12 @@ ul.nav-tabs {
margin: 0;
}

p.deprecated span{
color: #ff0000;
font-weight: bold;
text-decoration: underline;
}

/* ------------------------------------------------------------------------------------------
* Print
* ------------------------------------------------------------------------------------------ */
Expand Down
8 changes: 7 additions & 1 deletion template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,13 @@ <h1>{{article.groupTitle}}{{#if article.title}} - {{article.title}}{{/if}}</h1>
{{#if article.description}}
<p>{{{nl2br article.description}}}</p>
{{/if}}

{{#if article.deprecated}}
<p class="deprecated"><span>DEPRECATED</span>
{{#if article.deprecated.url}}
use <a href="#api-{{article.deprecated.group}}-{{article.deprecated.url}}">{{article.deprecated.name}}</a>
{{/if}}
</p>
{{/if}}
<pre class="prettyprint language-html" data-type="{{toLowerCase article.type}}"><code>{{article.url}}</code></pre>

{{#if article.permission}}
Expand Down

0 comments on commit 08eaf40

Please sign in to comment.