-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
186 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<div> | ||
<div class="linkModal"> | ||
|
||
<div class="linkTypes pat-autotoc autotabs" | ||
data-pat-autotoc="section:span.linkType;levels:span.linkLabel;"> | ||
|
||
<span class="linkType internal" data-linkType="internal"> | ||
<span class="linkLabel" i18n:translate="label_internal_url">Internal</span> | ||
<div> | ||
<div class="form-group main"> | ||
<!-- this gives the name to the "linkType" --> | ||
<input type="text" name="internal" class="pat-relateditems" | ||
tal:attributes="data-pat-relateditems view/pattern_data; | ||
value view/value/internal | nothing; | ||
name string:${view/name}.internal" /> | ||
</div> | ||
</div> | ||
</span> | ||
|
||
<span class="linkType external" data-linkType="external"> | ||
<span class="linkLabel" i18n:translate="label_external_url">External</span> | ||
<div class="form-group main"> | ||
<label for="external" i18n:translate="help_external_url">External URL (can be relative within this site or absolute if it starts with http:// or https://)</label> | ||
<input type="text" name="external" | ||
tal:attributes="name string:${view/name}.external; | ||
value view/value/external | nothing" /> | ||
</div> | ||
</span> | ||
|
||
<span class="linkType email" data-linkType="email"> | ||
<span class="linkLabel" i18n:translate="label_email_url">Email</span> | ||
<div class="form-inline"> | ||
<div class="form-group main"> | ||
<label i18n:translate="help_email_url">Email Address</label> | ||
<input type="text" name="email" | ||
tal:attributes="name string:${view/name}.email; | ||
value view/value/email | nothing" /> | ||
</div> | ||
<div class="form-group"> | ||
<label i18n:translate="help_email_url_subject">Email Subject (optional)</label> | ||
<input type="text" name="subject" | ||
tal:attributes="name string:${view/name}.subject; | ||
value view/value/email_subject | nothing" /> | ||
</div> | ||
</div> | ||
</span> | ||
|
||
</div><!-- / tabs --> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters