File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,21 @@ export default class RfcCard extends Component {
55 <template >
66 <div class =" rfc-card" >
77 <span class =" card-number" ><h2 >#{{@ rfc.number }} </h2 ></span >
8- <LinkTo class =" card-title" @ route =" rfc" @ model ={{@ rfc.rfcFile }} >
9- <h2 >{{@ rfc.title }} </h2 >
10- </LinkTo >
8+
9+ {{#if @ rfc.rfcFile }}
10+ <LinkTo class =" card-title" @ route =" rfc" @ model ={{@ rfc.rfcFile }} >
11+ <h2 >{{@ rfc.title }} </h2 >
12+ </LinkTo >
13+ {{else }}
14+ <a
15+ href =" https://github.com/emberjs/rfcs/pull/{{@ rfc.number }} "
16+ class =" card-title"
17+ target =" _blank"
18+ rel =" noopener noreferrer"
19+ >
20+ <h2 >{{@ rfc.title }} </h2 >
21+ </a >
22+ {{/if }}
1123 <p class =" card-summary" >{{@ rfc.summary }} </p >
1224 {{#unless @ compact }}
1325 <ul title =" RFC Champions" class =" card-champion rfc-champions" >
You can’t perform that action at this time.
0 commit comments