Commit b25e0b0
committed
show google previews on file show page if supported
Google previews weren't being shown
Test Plan:
* only enable google docs locally
* upload a pdf to the course
* link a module to that file
* click the module link
* the file should be previewed with google docs
refs #11219
Change-Id: I75da7ba9fbfbd4051f3d5493a4bbb99c076cddc5
Reviewed-on: https://gerrit.instructure.com/14653
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>1 parent 4be0c71 commit b25e0b0
3 files changed
Lines changed: 6 additions & 6 deletions
File tree
- app
- helpers
- views/files
- public/javascripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments