From 1129f756c89395befc8363884e7335ef2f51aa83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justin=20Nu=C3=9F?= <justin.nuss@hmmh.de> Date: Thu, 24 Jul 2014 12:37:26 +0200 Subject: [PATCH] Fix missing . (dot) in issue templates --- templates/repo/issue/create.tmpl | 2 +- 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}}