Adding readonly tag to the summary

This commit is contained in:
Sergey 2021-10-26 18:27:41 -04:00
parent 486fd3744f
commit 6a92af1662
2 changed files with 16 additions and 1 deletions

View File

@ -342,6 +342,16 @@ span.inheritance {
text-align: right;
}
span.chips--readonly {
border: 1px solid #9db9f3;
border-radius: 25px;
padding: 1px 3px;
font-size: 70%;
color: #9db9f3;
background-color: #FFF;
margin-left: 10px;
}
table.function_list .function_args /*.function_modname*/ {
color: #94b1ff;
text-decoration: underline;

View File

@ -292,7 +292,12 @@
# end
</td>
# end
<td colspan="$(inherited and 1 or 2)" class="summary">$(M(item.summary,item))</td>
<td colspan="$(inherited and 1 or 2)" class="summary">
$(M(item.summary,item))
# if item.tags.readonly then
<span class="chips--readonly">read only</span>
# end
</td>
# if inherited then
<td class="baseclass" nowrap>
Inherited from $(item.baseclass)