File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ pub fn build_list_handler(req: &mut Request) -> IronResult<Response> {
140
140
Page :: new ( builds_page)
141
141
. set_true ( "show_package_navigation" )
142
142
. set_true ( "package_navigation_builds_tab" )
143
- . set_true ( "show_clipboard" )
144
143
. to_resp ( "builds" )
145
144
}
146
145
}
Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ pub fn crate_details_handler(req: &mut Request) -> IronResult<Response> {
290
290
. set_true ( "show_package_navigation" )
291
291
. set_true ( "javascript_highlightjs" )
292
292
. set_true ( "package_navigation_crate_tab" )
293
- . set_true ( "show_clipboard" )
294
293
. to_resp ( "crate_details" )
295
294
}
296
295
MatchVersion :: Semver ( ( version, _) ) => {
Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ pub fn source_browser_handler(req: &mut Request) -> IronResult<Response> {
245
245
let page = Page :: new ( list)
246
246
. set_bool ( "show_parent_link" , !req_path. is_empty ( ) )
247
247
. set_true ( "javascript_highlightjs" )
248
- . set_true ( "show_clipboard" )
249
248
. set_true ( "show_package_navigation" )
250
249
. set_true ( "package_source_tab" ) ;
251
250
Original file line number Diff line number Diff line change 34
34
{{ #unless varsb.hide_package_navigation }}
35
35
<div class =" cratesfyi-package-container" >
36
36
<div class =" container" >
37
- <h1 id =" crate-title" >{{ #if title }} {{ title }} {{ else }} {{ content.metadata.name }} {{ content.metadata.version }} {{ /if }} </h1 >
38
- {{ #if varsb.show_clipboard }} <i class =" fa fa-clipboard fa-1" id =" clipboard" aria-label =" Copy crate name and version information" ></i >{{ /if }}
37
+ <h1 id =" crate-title" >
38
+ {{ #if title }}
39
+ {{ title }}
40
+ {{ else }}
41
+ {{ content.metadata.name }} {{ content.metadata.version }}
42
+ <i class =" fa fa-clipboard fa-1" id =" clipboard" aria-label =" Copy crate name and version information" ></i >
43
+ {{ /if }}
44
+ </h1 >
39
45
<div class =" description" >{{ #if content.metadata.description }} {{ content.metadata.description }} {{ else }} {{ varss.description }} {{ /if }} </div >
40
46
41
47
{{ #if ../varsb.show_package_navigation }}
You can’t perform that action at this time.
0 commit comments