Skip to content

Commit 5cf5a70

Browse files
committed
Merge pull request #682 from dart-lang/move-inherited-marker
show inherited on separate line
2 parents cf8a3bd + d6d3914 commit 5cf5a70

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

lib/templates/_callable.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
→
44
<span class="returntype">{{{ linkedReturnType }}}</span>
55
</span>
6-
{{#isInherited}}<span class="is-inherited">inherited</span>{{/isInherited}}
76
</dt>
87
<dd>
8+
{{#isInherited}}
9+
<div>
10+
<span class="is-inherited">inherited</span>
11+
</div>
12+
{{/isInherited}}
913
{{{ oneLineDoc }}}
1014
</dd>

lib/templates/_property.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<dt id="{{htmlId}}" class="property">
22
<span class="top-level-variable-type">{{{ linkedReturnType }}}</span>
33
<a href="{{href}}">{{>name_summary}}</a>
4-
{{#isInherited}}<span class="is-inherited">inherited</span>{{/isInherited}}
54
</dt>
65
<dd>
76
{{>readable_writable}}

lib/templates/_readable_writable.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
{{#readOnly}}read-only{{/readOnly}}
33
{{#writeOnly}}write-only{{/writeOnly}}
44
{{#readWrite}}read / write{{/readWrite}}
5+
{{#isInherited}}, <span class="is-inherited">inherited</span>{{/isInherited}}
56
</div>

0 commit comments

Comments
 (0)