zuora_connect 2.0.5 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,63 +0,0 @@
1
- <html><head>
2
- <title>We're sorry, but something went wrong (500)</title>
3
- <meta name="viewport" content="width=device-width,initial-scale=1">
4
- <style>
5
- body {
6
- background-color: #EFEFEF;
7
- color: #2E2F30;
8
- text-align: center;
9
- font-family: arial, sans-serif;
10
- margin: 0;
11
- }
12
-
13
- div.dialog {
14
- width: 95%;
15
- max-width: 33em;
16
- margin: 4em auto 0;
17
- }
18
-
19
- div.dialog > div {
20
- border: 1px solid #CCC;
21
- border-right-color: #999;
22
- border-left-color: #999;
23
- border-bottom-color: #BBB;
24
- border-top: #B00100 solid 4px;
25
- border-top-left-radius: 9px;
26
- border-top-right-radius: 9px;
27
- background-color: white;
28
- padding: 7px 12% 0;
29
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
30
- }
31
-
32
- h1 {
33
- font-size: 100%;
34
- color: #730E15;
35
- line-height: 1.5em;
36
- }
37
-
38
- div.dialog > p {
39
- margin: 0 0 1em;
40
- padding: 1em;
41
- background-color: #F7F7F7;
42
- border: 1px solid #CCC;
43
- border-right-color: #999;
44
- border-left-color: #999;
45
- border-bottom-color: #999;
46
- border-bottom-left-radius: 4px;
47
- border-bottom-right-radius: 4px;
48
- border-top-color: #DADADA;
49
- color: #666;
50
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
51
- }
52
- </style>
53
- </head>
54
-
55
- <body>
56
- <!-- This file lives in public/500.html -->
57
- <div class="dialog">
58
- <div>
59
- <h1>Session is invalid</h1>
60
- </div>
61
- <p>Please try relaunching the application from connect.zuora.com</p>
62
- </div>
63
- </body></html>
@@ -1,9 +0,0 @@
1
- module ZuoraConnect
2
- module Views
3
- module Helpers
4
- def is_app_admin?
5
- return @appinstance.blank? ? false : session["#{@appinstance.id}::admin"]
6
- end
7
- end
8
- end
9
- end