mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-27 05:25:58 +00:00
Follow meta-linter recommendations for all of Inbucket
- Rename BUILD_DATE to BUILDDATE in goxc - Update travis config - Follow linter recommendations for inbucket.go - Follow linter recommendations for config package - Follow linter recommendations for log package - Follow linter recommendations for pop3d package - Follow linter recommendations for smtpd package - Follow linter recommendations for web package - Fix Id -> ID in templates - Add shebang to REST demo scripts - Add or refine many comments
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{$name := .name}}
|
||||
{{$id := .message.Id}}
|
||||
{{$id := .message.ID}}
|
||||
<div class="btn-group btn-group-sm message-controls" role="group" aria-label="Message Controls">
|
||||
<button type="button"
|
||||
class="btn btn-primary"
|
||||
@@ -9,20 +9,20 @@
|
||||
</button>
|
||||
<button type="button"
|
||||
class="btn btn-danger"
|
||||
onClick="deleteMessage('{{.message.Id}}');">
|
||||
onClick="deleteMessage('{{.message.ID}}');">
|
||||
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
|
||||
Delete
|
||||
</button>
|
||||
<button type="button"
|
||||
class="btn btn-primary"
|
||||
onClick="messageSource('{{.message.Id}}');">
|
||||
onClick="messageSource('{{.message.ID}}');">
|
||||
<span class="glyphicon glyphicon-education" aria-hidden="true"></span>
|
||||
Source
|
||||
</button>
|
||||
{{if .htmlAvailable}}
|
||||
<button type="button"
|
||||
class="btn btn-primary"
|
||||
onClick="htmlView('{{.message.Id}}');">
|
||||
onClick="htmlView('{{.message.ID}}');">
|
||||
<span class="glyphicon glyphicon-new-window" aria-hidden="true"></span>
|
||||
HTML
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user