forked from openkylin/platform_build
revise the deprecated warning to use the 'caution'
style and add a line break
This commit is contained in:
parent
c3c136c4cd
commit
962d468d73
|
@ -98,8 +98,8 @@ def:short_descr(obj) ?><?cs
|
||||||
<?cs # Show the red box with the deprecated warning ?><?cs
|
<?cs # Show the red box with the deprecated warning ?><?cs
|
||||||
def:deprecated_warning(obj) ?><?cs
|
def:deprecated_warning(obj) ?><?cs
|
||||||
if:subcount(obj.deprecated) ?><p>
|
if:subcount(obj.deprecated) ?><p>
|
||||||
<p class="warning jd-deprecated-warning">
|
<p class="caution">
|
||||||
<strong><?cs call:deprecated_text(obj.kind) ?></strong><?cs
|
<strong><?cs call:deprecated_text(obj.kind) ?></strong><br/> <?cs
|
||||||
call:tag_list(obj.deprecated) ?>
|
call:tag_list(obj.deprecated) ?>
|
||||||
</p><?cs
|
</p><?cs
|
||||||
/if ?><?cs
|
/if ?><?cs
|
||||||
|
|
Loading…
Reference in New Issue