Add trailing text to textlines, most useful for units.
This commit is contained in:
@@ -483,6 +483,7 @@ class TextLine(InputTypeBase):
|
|||||||
Attribute('dojs', None, render=False),
|
Attribute('dojs', None, render=False),
|
||||||
Attribute('preprocessorClassName', None, render=False),
|
Attribute('preprocessorClassName', None, render=False),
|
||||||
Attribute('preprocessorSrc', None, render=False),
|
Attribute('preprocessorSrc', None, render=False),
|
||||||
|
Attribute('trailing_text', ''),
|
||||||
]
|
]
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
style="display:none;"
|
style="display:none;"
|
||||||
% endif
|
% endif
|
||||||
/>
|
/>
|
||||||
|
% if trailing_text:
|
||||||
|
${trailing_text}
|
||||||
|
% endif
|
||||||
|
|
||||||
<p class="status">
|
<p class="status">
|
||||||
% if status == 'unsubmitted':
|
% if status == 'unsubmitted':
|
||||||
|
|||||||
Reference in New Issue
Block a user