1 00:00:01,240 --> 00:00:03,130 Let's get these two links on our header. 2 00:00:03,220 --> 00:00:05,830 So I want to have a direct link to the page where we create a ticket. 3 00:00:06,220 --> 00:00:10,000 I also want to have a direct link to a new page that we're gonna create in just a moment. 4 00:00:10,210 --> 00:00:12,700 That's going to list out all the different orders that the user has created. 5 00:00:13,630 --> 00:00:15,280 First off, how do we add stuff to the header? 6 00:00:15,520 --> 00:00:18,640 Well, remember, inside of our client. 7 00:00:20,100 --> 00:00:21,190 Opponents bolder. 8 00:00:21,480 --> 00:00:22,800 We've got the header, J.S. Vile. 9 00:00:23,990 --> 00:00:28,570 And we put together this clever little system right here of some different links to decide whether we 10 00:00:28,570 --> 00:00:32,020 want to show one set of links based upon whether the user is logged in or not. 11 00:00:32,770 --> 00:00:36,820 So I want to add in right above the sign out configuration thing right there. 12 00:00:37,420 --> 00:00:41,110 Another two possible links, I can say, if there is a current user. 13 00:00:41,140 --> 00:00:44,940 So in other words, if the user is logged in, then I want to have an additional link. 14 00:00:45,970 --> 00:00:49,090 With a label of sell tickets. 15 00:00:50,460 --> 00:00:52,890 And if a user clicks on that, I want to direct them to. 16 00:00:53,920 --> 00:00:55,540 Tickets flash new. 17 00:01:01,250 --> 00:01:04,970 And then right after that, I can add in one other link, I'll say if these are is logged in. 18 00:01:06,280 --> 00:01:10,030 Give me another link that has a label of something like my orders. 19 00:01:11,280 --> 00:01:13,400 And we do not have this rule put together just yet. 20 00:01:13,450 --> 00:01:18,040 But I'm sure you can imagine that we probably want to give the thing a round of something like just 21 00:01:18,040 --> 00:01:18,940 flash orders. 22 00:01:19,400 --> 00:01:23,860 So if we go to slash orders, I want to show a listing of all the orders the user has created. 23 00:01:25,790 --> 00:01:26,690 OK, let's save that. 24 00:01:28,770 --> 00:01:29,670 Go do a quick test. 25 00:01:30,180 --> 00:01:35,070 Looks like we've now got those links inside the header flushable to click on sell tickets and go directly 26 00:01:35,070 --> 00:01:36,180 to the created ticket form. 27 00:01:37,230 --> 00:01:38,860 And if I click on my orders right now. 28 00:01:38,980 --> 00:01:39,070 Yep. 29 00:01:39,260 --> 00:01:41,200 Again, we have not implemented this just yet. 30 00:01:41,590 --> 00:01:46,120 So let's pause right here and put together this listing of all orders that belong to this user in just 31 00:01:46,120 --> 00:01:46,570 a moment.