Skip to content

Commit c2d988b

Browse files
authored
Merge pull request #555 from UniversityOfHelsinkiCS/trunk
- sentry to front - show student number to teacher
2 parents e9d2f64 + 36ece10 commit c2d988b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

labtool2.0/public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
66
<meta name="theme-color" content="#000000">
7+
<script src="https://cdn.ravenjs.com/3.19.1/raven.min.js" crossorigin="anonymous"></script>
78
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.12/semantic.min.css"></link>
89

910
<!--

labtool2.0/src/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ import ManageTags from './components/pages/ManageTags'
2525
import { logout } from './reducers/loginReducer'
2626
import { tokenLogin } from './reducers/loginReducer'
2727

28+
try {
29+
Raven.config('https://d12f1efa9d2a4d88a34584707472b08f@toska.cs.helsinki.fi/8').install() // eslint-disable-line
30+
} catch (e) { } // eslint-disable-line
31+
2832
// The main component of the whole application.
2933
class App extends Component {
3034
/**

labtool2.0/src/components/pages/BrowseReviews.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,10 @@ export class BrowseReviews extends Component {
109109
<Card key={student.id} fluid color="yellow">
110110
<Card.Content>
111111
<h2>
112-
{student.User.firsts} {student.User.lastname}
112+
{student.User.firsts} {student.User.lastname} {student.User.studentNumber}
113113
</h2>
114-
<h3> {student.projectName} </h3>
115114
<h3>
116-
{' '}
115+
{student.projectName}{' '}
117116
<a href={student.github} target="_blank" rel="noopener noreferrer">
118117
{student.github}
119118
</a>

0 commit comments

Comments
 (0)