global.jelly 2.7 KB
Newer Older
K
kohsuke 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<!--
The MIT License

Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Erik Ramfelt, Seiji Sogabe

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

25
<?jelly escape-by-default='true'?>
K
kohsuke 已提交
26
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
K
i18n  
kohsuke 已提交
27
  <f:section title="${%E-mail Notification}">
K
kohsuke 已提交
28 29
    <f:entry title="${%SMTP server}" field="smtpServer">
      <f:textbox />
K
kohsuke 已提交
30
    </f:entry>
K
kohsuke 已提交
31 32
    <f:entry title="${%Default user e-mail suffix}" field="defaultSuffix">
      <f:textbox />
K
kohsuke 已提交
33
    </f:entry>
K
kohsuke 已提交
34 35
    <f:entry title="${%System Admin E-mail Address}" field="adminAddress">
      <f:textbox />
K
kohsuke 已提交
36
    </f:entry>
37
    <f:entry title="${%Jenkins URL}" field="url">
K
kohsuke 已提交
38
      <f:textbox default="${h.inferHudsonURL(request)}" />
K
kohsuke 已提交
39
    </f:entry>
K
kohsuke 已提交
40
    <f:advanced>
K
kohsuke 已提交
41
      <f:optionalBlock name="useSMTPAuth" title="${%Use SMTP Authentication}" checked="${descriptor.smtpAuthUserName!=null}"
K
kohsuke 已提交
42
          help="/help/tasks/mailer/smtpAuth.html">
K
kohsuke 已提交
43 44
        <f:entry title="${%User Name}" field="smtpAuthUserName">
          <f:textbox />
K
kohsuke 已提交
45
        </f:entry>
K
kohsuke 已提交
46 47
        <f:entry title="${%Password}" field="smtpAuthPassword">
          <f:password />
K
kohsuke 已提交
48 49
        </f:entry>
      </f:optionalBlock>
K
kohsuke 已提交
50 51
      <f:entry title="${%Use SSL}" field="useSsl">
        <f:checkbox />
K
kohsuke 已提交
52
      </f:entry>
K
kohsuke 已提交
53 54
      <f:entry title="${%SMTP Port}" field="smtpPort">
        <f:textbox />
55
      </f:entry>
C
cactusman 已提交
56
      <f:entry title="${%Charset}" field="charset">
57 58
        <f:textbox />
      </f:entry>
K
kohsuke 已提交
59
    </f:advanced>
C
cactusman 已提交
60
    <f:validateButton method="sendTestMail" title="${%Test configuration by sending e-mail to System Admin Address}" with="smtpServer,adminAddress,useSMTPAuth,smtpAuthUserName,smtpAuthPassword,useSsl,smtpPort,charset" />
K
kohsuke 已提交
61
  </f:section>
62
</j:jelly>