initial import

This commit is contained in:
Thanos Kyritsis
2015-12-30 10:39:03 +02:00
commit 3d554788ed
3 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<p>
<label for="settings_mattermost_url">Mattermost URL</label>
<input type="text" id="settings_mattermost_url" size=80 value="<%= settings['mattermost_url'] %>" name="settings[mattermost_url]" />
</p>
<p>
<label for="settings_channel">Mattermost Channel</label>
<input type="text" id="settings_channel" value="<%= settings['channel'] %>" name="settings[channel]" />
</p>
<p>
The channel can be changed on a per-project basis by creating a
<a href="/custom_fields/new?type=ProjectCustomField">project custom field</a> named "Mattermost Channel" (without quotes).
</p>
<p>
<label for="settings_icon">Mattermost Icon</label>
<input type="text" id="settings_icon" value="<%= settings['icon'] %>" name="settings[icon]" />
</p>
<p>
<label for="settings_username">Mattermost Username</label>
<input type="text" id="settings_username" value="<%= settings['username'] %>" name="settings[username]" />
</p>
<p>
<label for="settings_display_watchers">Display Watchers?</label>
<select id="settings_display_watchers" value="<%= settings['display_watchers'] %>" name="settings[display_watchers]">
<option value="yes">Yes</option>
<option value="no" <%= settings['display_watchers'] != 'yes' ? %q(selected="selected") : '' %>>No</option>
</select>
</p>
<p>
<label for="settings_post_updates">Post Issue Updates?</label>
<input type="checkbox" id="settings_post_updates" value="1" name="settings[post_updates]" <%= settings['post_updates'] == '1' ? 'checked="checked"' : '' %> />
</p>