diff options
author | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-24 12:37:26 +0200 |
---|---|---|
committer | Justin Nuß <justin.nuss@hmmh.de> | 2014-07-24 12:37:26 +0200 |
commit | 1129f756c89395befc8363884e7335ef2f51aa83 (patch) | |
tree | a1db200a6f9936581e0218b6640c6c0dcc6d5774 /templates | |
parent | 967856f36ebd2d6216ceb2299b5399f7d25e86e9 (diff) | |
download | gitea-1129f756c89395befc8363884e7335ef2f51aa83.tar.gz gitea-1129f756c89395befc8363884e7335ef2f51aa83.zip |
Fix missing . (dot) in issue templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/create.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl index 3463d85ca8..1146a4664f 100644 --- a/templates/repo/issue/create.tmpl +++ b/templates/repo/issue/create.tmpl @@ -110,7 +110,7 @@ <div class="form-group"> <!-- <input type="hidden" name="attachments" value="" /> - <button data-accept="{{AllowedTypes}}" data-comment-id="0" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> + <button data-accept="{{.AllowedTypes}}" data-comment-id="0" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> --> <input type="hidden" value="id" name="repo-id"/> diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index 55f788bdba..a336205415 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -134,7 +134,7 @@ <div class="form-group"> <!-- <input type="hidden" name="attachments" value="" /> - <button data-accept="{{AllowedTypes}}" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> + <button data-accept="{{.AllowedTypes}}" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> --> {{if .IsIssueOwner}}{{if .Issue.IsClosed}} |