Skip to content

Commit c5bf2df

Browse files
committed
Change css importing, update regex format displayed on web
1 parent 2268f51 commit c5bf2df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

labelbot/templates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="sha384-2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">
1717

1818
<!-- Custom styles for this template -->
19-
<link href="custom.css" rel="stylesheet">
19+
<link href="{{ url_for('static', filename='custom.css') }}" rel="stylesheet">
2020
</head>
2121

2222
<body>
@@ -39,7 +39,7 @@ <h4>Configuration</h4>
3939
<ul>
4040
<li>Add your GitHub bot user as an collaborator to the project you want to label. </li>
4141
<li>Create a new webhook in your repo with e.g. <strong>https://labelbot-api.herokuapp.com/hook</strong> Payload URL and <strong>issues</strong> and <strong>issue comment</strong> events allowed. </li>
42-
<li>Set WEBHOOK_TOKEN environment variable corresponding to the secret token you used during token_creation. </li>
42+
<li>Set WEBHOOK_TOKEN environment variable corresponding to the secret token you used during token creation. </li>
4343
</ul>
4444

4545
<h4>Configured labeling rules</h4>
@@ -53,7 +53,7 @@ <h4>Configured labeling rules</h4>
5353
<tbody>
5454
{% for rule in rules %}
5555
<tr>
56-
<td>{{ rule.pattern }}</td>
56+
<td>{{ rule.pattern.pattern }}</td>
5757
<td>{{ rule.label }}</td>
5858
</tr>
5959
{% endfor %}

0 commit comments

Comments
 (0)