Welcome to mirror list, hosted at ThFree Co, Russian Federation.

preview.html.haml « mailer « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b723cb8021effe5eb6481177cb6219abf828467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%p This is page with preview for all system emails that are sent to user
%p Email previews built based on existing Project/Commit/Issue base - so some preview maybe unavailable unless object appear in system  

#accordion
  %h3
    %a New user
  %div 
    %iframe{ :src=> admin_mailer_preview_user_new_path, :width=>"100%", :height=>"350"}
  %h3
    %a New issue
  %div 
    %iframe{ :src=> admin_mailer_preview_issue_new_path, :width=>"100%", :height=>"350"}
  %h3 
    %a Commit note
  %div
    %iframe{ :src=> admin_mailer_preview_note_path(:type => "Commit"), :width=>"100%", :height=>"350"}
  %h3
    %a Issue note
  %div 
    %iframe{ :src=> admin_mailer_preview_note_path(:type => "Issue"), :width=>"100%", :height=>"350"}
  %h3
    %a Wall note
  %div 
    %iframe{ :src=> admin_mailer_preview_note_path(:type => "Wall"), :width=>"100%", :height=>"350"}


:javascript 
  $(function() {
      $( "#accordion" ).accordion(); });